Commit graph

36 commits

Author SHA1 Message Date
alonso.torres
7d464c14c0 ♻️ Moved math and some geom namespaces to common 2020-05-21 15:27:33 +02:00
Andrey Antukh
9d827d4b30 ♻️ Refactor shapes structure. 2020-05-06 11:35:38 +02:00
Andrés Moya
54b7d04639 Use bounding box when showing interactions 2020-05-05 16:00:08 +02:00
Andrés Moya
1e898f94f3 🎉 Add basic interaction to shapes 2020-05-05 15:41:56 +02:00
alonso.torres
7ab3d86bc6 🎉 Changed the user origin for shapes to their corner 2020-04-29 10:04:27 +02:00
Andrés Moya
9e21d6ab9d 🎉 Add stroke-alignment option 2020-04-27 14:33:45 +02:00
alonso.torres
b0318d3144 ♻️ Moved main.geom to util.geom.shapes 2020-04-27 07:08:10 +02:00
alonso.torres
b73958efd0 🎉 Improved transformations 2020-04-27 07:08:10 +02:00
Andrey Antukh
032252469b Add more memoization hooks. 2020-04-13 11:27:46 +02:00
alonso.torres
d86b5237c1 🎉 Multiple selection rotation 2020-04-10 07:54:14 +02:00
alonso.torres
f79e902762 Adds group shape 2020-04-06 11:52:42 +02:00
Andrey Antukh
48d7ea4be4 Make the attrs procesing of shapes uniform. 2020-03-25 11:07:50 +01:00
Andrey Antukh
ce094b663c ⬆️ Update beicon and rumext to the latest version. 2020-03-25 09:41:38 +01:00
Andrey Antukh
cae5b5e778 🎉 Add right-click context menu on workspace. 2020-03-20 11:37:40 +01:00
Andrey Antukh
ba373573e0 ♻️ Initial refactor of page data structure (wip).
Still work in progress but is a necessary step for a future
(re)introduction of groups.
2020-03-08 12:46:09 +01:00
Andrey Antukh
ff43df6822 🐛 Many bugfixes. 2020-02-19 19:20:13 +01:00
Andrey Antukh
86ba4fd083 🎉 Reimplement canvas as svg (instead of g+rect). 2020-02-18 17:11:17 +01:00
Andrey Antukh
bbd7e33059 🎉 Restore icons toolbox. 2020-01-27 15:24:35 +01:00
Andrey Antukh
72d92c419f 🚧 More work on rotation related stuff. 2020-01-15 17:59:55 +01:00
Andrey Antukh
338a0b97ac 🚧 Start working on shape rotation (with mouse handlers). 2020-01-15 00:15:23 +01:00
Andrey Antukh
1e058463b2 ♻️ Refactor: shape data structure, dashboard data loading... 2020-01-07 09:35:38 +01:00
Andrey Antukh
8e81d796f0 💄 Minor cosmetic improvements on shapes related namespaces. 2019-11-26 18:32:00 +01:00
Andrey Antukh
4cf7a48567 🚧 Experimenting with some performance improvements. 2019-09-20 17:30:03 +02:00
Andrey Antukh
daac4486e5 Allow canvas movement and resize. 2019-08-24 16:01:17 +02:00
Andrey Antukh
6483800e49 Add more incremental improvements to shapes rendering.
That helps for make a good foundation for proper canvas painting and
manipulation.
2019-08-22 20:02:14 +02:00
Andrey Antukh
fada526f5d 🔧 Adapt shapes to use new rumext macros. 2019-08-07 20:12:35 +02:00
Andrey Antukh
88f45fb618 feat(frontend): initial work on react and rumext upgrade 2019-06-24 17:39:10 +02:00
Andrey Antukh
671c2d912c
Remove all usage of mx/component and replace that with rumext. 2017-04-08 18:30:03 +02:00
Andrey Antukh
99f935863a
Add move cursor when shape is displaced on viewport. 2017-03-01 19:17:51 +01:00
Andrey Antukh
f82ddac72d
Fix many inconsistencies between drawing and resizing.
This enables sharing code between the drawing logic and
the simple resizing. Allowing drawing in any direction,
not only from top-left to bottom-right.

Fixes issue #44.
2017-02-27 20:28:37 +01:00
Andrey Antukh
3fdce853d0
Don't trigger page persistence on simple shape selection. 2017-01-31 16:58:10 +01:00
Andrey Antukh
80ebc17a26
Fix interactions issues. 2017-01-09 20:26:30 +01:00
Andrey Antukh
28d18a07a0
Refactor shapes attributes handling. 2017-01-05 23:21:05 +01:00
Andrey Antukh
c0a81d05eb
Refactor shapes and selection rendering in order to be aware of rotation. 2016-12-25 20:50:04 +01:00
Andrey Antukh
af57d8b449
Refactor shape resize and displacement. 2016-12-20 21:33:29 +01:00
Andrey Antukh
e21798f1ed
Move all files under frontend directory. 2016-11-20 20:03:17 +01:00
Renamed from src/uxbox/main/ui/shapes/rect.cljs (Browse further)