Commit graph

42 commits

Author SHA1 Message Date
Andrey Antukh
2a0918a567 Improved actions locking for better user experience. 2016-02-27 14:10:18 +02:00
Andrey Antukh
0111b5d3e7 Replace cats.labs.lens with lentes package. 2016-02-27 11:27:28 +02:00
Andrey Antukh
80a8e0a7bd Fix order of shapes rendering in canvas. 2016-02-27 11:15:30 +02:00
Andrey Antukh
e2af1a451b Implement properly the multiselection handler. 2016-02-26 20:04:08 +02:00
Andrey Antukh
1572c4cdd3 Complete refactor of shapes rendering. 2016-02-26 19:42:53 +02:00
Andrey Antukh
6226c7f93b Fix wrong behavior on canvas position translation.
The translation was not aware of bounding rect size
increment when shapes are out of main drawing zone.
2016-02-19 22:33:10 +02:00
Andrey Antukh
e104386398 Fix race condition on points translation.
This happens sometimes on first workspace load.
2016-02-19 21:53:41 +02:00
Andrey Antukh
52f52a5d40 Add rotatation transformation for rect and circles. 2016-02-19 21:53:25 +02:00
Andrey Antukh
9c72cd8a3d Add static mixin to shape componet.
Improves dramatically the rendering performance
for huge number of objects.
2016-02-18 22:21:39 +02:00
Andrey Antukh
f8aaba6f31 Get precision bug on mouse stream on workspace. 2016-02-18 21:30:35 +02:00
Andrey Antukh
5653a15ad5 Fix rules/scroll related issues. 2016-02-17 20:52:07 +02:00
Andrey Antukh
77fafa85ad Move element options to sidebar. 2016-02-16 21:09:13 +02:00
Andrey Antukh
94c7f0df98 Move viewport scroll pressing space. 2016-02-16 20:38:04 +02:00
Andrey Antukh
674136bcab Fix canvas selrect selection. 2016-02-16 20:04:42 +02:00
Andrey Antukh
5a73a4f198 Move the mouse stream generation under viewport. 2016-02-16 19:54:04 +02:00
Andrey Antukh
a49e0c2f84 More work on scroll/position of workspace fixing. 2016-02-15 23:28:44 +02:00
Andrey Antukh
6235e9c86e Make the workspace canvas bigger and center the drawing layout. 2016-02-15 22:59:08 +02:00
Andrey Antukh
5d5b84a0a1 Adapt the application to use the new point abstraction. 2016-02-06 12:29:00 +02:00
Andrey Antukh
4bec35869c Render shapes in reversed order. 2016-02-03 18:07:47 +02:00
Andrey Antukh
9a1ed2bb9b Use shift modifier instead ctrl for multiple selection in canvas. 2016-02-03 17:23:37 +02:00
Andrey Antukh
6024674182 Move uxbox.ui.dom to uxbox.util.dom. 2016-02-01 20:45:59 +02:00
Andrey Antukh
e84246aecd Add mouse-ctrl stream and improve general stream performance. 2016-01-30 20:24:19 +02:00
Andrey Antukh
c3ddf2ad32 Add absolute mouse position stream. 2016-01-30 20:18:31 +02:00
Andrey Antukh
24ae745da0 Add quick & dirty impl of ruler. 2016-01-30 19:05:33 +02:00
Andrey Antukh
e51adc2b5f Minor renaming for consistency. 2016-01-29 20:07:20 +02:00
Andrey Antukh
32b7bfe383 Reimplemented the draw shapes/icons. 2016-01-28 20:26:08 +02:00
Andrey Antukh
76cd1a48b8 Refactor interactions in workspace. 2016-01-27 19:22:47 +02:00
Andrey Antukh
77ec0e86d2 Move selrect and selection components under own namespace. 2016-01-27 19:22:47 +02:00
Andrey Antukh
bdb0738a1b Remove duplicated lense from canvas ns. 2016-01-25 18:33:06 +02:00
Andrey Antukh
42073077ee Improved shape component for proper handle shapes in groups. 2016-01-22 19:38:44 +02:00
Andrey Antukh
b7afe65272 Remove statix mixin from shape component. 2016-01-20 23:05:05 +02:00
Andrey Antukh
eabee221b6 Render selrect for shapes that are not direct descendents of page.
Shapes that forms part of one group or subgroup also can
be selected.
2016-01-20 22:46:33 +02:00
Andrey Antukh
b65e0d754a Remove println. 2016-01-20 22:41:27 +02:00
Andrey Antukh
48cb96221e Refactor mouse and selected shapes selrect rendering. 2016-01-19 18:13:10 +02:00
Andrey Antukh
d5bc6bb16a Move selrect into separate ns and rename it to mouse-selrect. 2016-01-19 17:05:48 +02:00
Andrey Antukh
0d0a94e594 Minor refactor on group-selected (shapes) event implementation. 2016-01-18 22:56:12 +02:00
Andrey Antukh
ce5675639f Add group initial impl for groups rendering. 2016-01-17 23:36:10 +02:00
Andrey Antukh
f817acc082 Fix bugs related to shape deselection on canvas.
And put the viewport and canvas components togther.
2016-01-13 17:56:09 +02:00
Andrey Antukh
1a0af91a5e Add blocking handling to layers toolbox and canvas. 2016-01-13 17:56:09 +02:00
Andrey Antukh
d18365204d Handle visibility on layers toolbox. 2016-01-12 20:13:50 +02:00
Andrey Antukh
809ac8cbc7 Move all react/rum related stuff under one unique ns. 2016-01-12 19:30:04 +02:00
Andrey Antukh
92a83c2506 Move frontend/uxbox to src/uxbox. 2016-01-12 16:54:53 +02:00
Renamed from frontend/uxbox/ui/workspace/canvas.cljs (Browse further)