0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-20 13:55:34 -05:00
Commit graph

1042 commits

Author SHA1 Message Date
Andrey Antukh
547faa16a9
Enable controlled mode on path drawing.
Allowing draw more precise lines aligned each
15degree in the circle with previous having
the previous point as center.
2016-08-24 17:05:39 +03:00
Andrey Antukh
62eb224ac0
Fix group shape rerender when a transformation is applied to its children shapes. 2016-08-24 16:45:11 +03:00
Andrey Antukh
3d18f2d95e
Remove line draw tool and line shape support.
The path support is superset of line and it
just replaces the line functionality.
2016-08-24 16:43:45 +03:00
Andrey Antukh
1693d172bd
Enable path edition with grid alignment. 2016-08-23 19:11:40 +03:00
Andrey Antukh
df10586e3f
Minor comments on selection ns. 2016-08-23 16:51:01 +03:00
Andrey Antukh
f2ebb75199
Use not resizable selection component for shape component.
When no edition mode is activated.
2016-08-23 16:30:03 +03:00
Andrey Antukh
0a547aed4c
Remove unused code. 2016-08-23 16:27:37 +03:00
Andrey Antukh
7875a6b961
Add proper path edition behavior. 2016-08-23 16:26:44 +03:00
Andrey Antukh
c1ae4348cd
Move selection ns under shapes. 2016-08-23 16:26:13 +03:00
Andrey Antukh
13e8679713
Return to previous path drawing method. 2016-08-22 17:33:12 +03:00
Andrey Antukh
ee9b99635b
Add path selection component when path is in edition mode. 2016-08-22 17:33:12 +03:00
Andrey Antukh
7e7d2570d7
Minor refactor on selection components. 2016-08-22 17:33:12 +03:00
Andrey Antukh
5ca6282e68
Port shape movement to shapes common ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
99aa09eb86
Fix lense/ref naming on shapes related ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
a4f29d25e1
Add update-path-point function to geom ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
63f6de930d
Use proper outer-rect calculation for path.
The same as prev comit. Don't treat path as rect.
2016-08-22 17:33:11 +03:00
Andrey Antukh
9a5fce0a20
Enable (again) the full shape movement.
Instead treat path like a rect.
2016-08-22 17:33:11 +03:00
Andrey Antukh
3187a3ed2c
Remove whitespace on shapes data ns. 2016-08-22 17:33:11 +03:00
Andrey Antukh
b90e70277e
Add missing require. 2016-08-22 17:33:10 +03:00
Andrey Antukh
cd365b77d3
Add update-path event. 2016-08-22 17:33:10 +03:00
Andrey Antukh
8c7fc4aad6
Add path rendering support for view app. 2016-08-22 17:33:10 +03:00
elhombretecla
5ec4b707e8 add new style yo view mode btn 2016-08-21 11:37:46 +02:00
Andrey Antukh
9e904e4247
Activate by default path simplification. 2016-08-13 02:42:20 +03:00
Andrey Antukh
e701793e44
Simplify drawtools sidebar main data structure. 2016-08-12 22:04:34 +03:00
Andrey Antukh
49c44766ba
Add the ability to draw freely the path.
The path simplification is implemented but deactivated.
2016-08-12 22:03:55 +03:00
Andrey Antukh
fa59407aec
Import adapted version of simplify.js for path simplifications. 2016-08-12 21:32:03 +03:00
Andrey Antukh
9aae0f0ce3
Add basic element options for path shapes. 2016-08-12 21:09:35 +03:00
Andrey Antukh
c52755b329
Move uxbox independent geom logic under uxbox.util ns. 2016-08-12 21:09:07 +03:00
Andrey Antukh
6b8b6ac5b9
Code cleaing on draw area. 2016-08-12 20:50:16 +03:00
Andrey Antukh
5d2c066356
Make path resizable. 2016-08-12 20:40:12 +03:00
Andrey Antukh
5fd1e7f030
Add transform point function.
Will be used for path edition.
2016-08-12 20:39:31 +03:00
Andrey Antukh
3977748e34
Add nan? and finite? predicates to math ns. 2016-08-11 18:16:00 +03:00
Andrey Antukh
1e9e9ef6d1
Add ^boolean typehints to matrix? and point? predicates.
Performance optimizations.
2016-08-11 18:15:59 +03:00
Andrey Antukh
d9a5c06106
Add the ability to invert matrix. 2016-08-11 18:15:59 +03:00
Andrey Antukh
0dff98801c
Add missing stuff in order to make path usable. 2016-08-11 18:15:59 +03:00
Andrey Antukh
8f935b4d60
Remove debug messages from rlocks ns. 2016-08-10 20:05:01 +03:00
Andrey Antukh
398f08fac7
Commit path stuff. 2016-08-10 20:04:55 +03:00
Andrey Antukh
52b0900325
Add missing with-key reference on mixins ns. 2016-08-10 19:15:28 +03:00
Andrey Antukh
b8e5239ee3
Refactor user interaction locking. 2016-08-10 19:15:13 +03:00
Andrey Antukh
ffa9d0e8d1
Cosmetic changes on drawarea ns. 2016-08-01 20:54:11 +03:00
Andrey Antukh
56d64cf737
Add proper impl of undo/redo. 2016-07-31 15:11:53 +03:00
Andrey Antukh
675f04ff9c
Fix typo on event handler attr on messages ns. 2016-07-31 15:11:29 +03:00
Andrey Antukh
5715e11d8f
Initial work on proper undo/redu functionality.
That is based in in-memmory queue of more detailed changes
instead of relying on history log that is not pretty
detailed and requires explcit user confirmation on each
Ctrl+Z action that is counterintuitive.
2016-07-31 00:26:50 +03:00
Andrey Antukh
b871217bb6
Move watch-page-changes func on top of history ns. 2016-07-31 00:26:21 +03:00
Andrey Antukh
414b25242d
Add better docstring for page change watcher on pages ns. 2016-07-31 00:08:01 +03:00
Andrey Antukh
70c5a29862
Simplify the page changes watcher of history. 2016-07-31 00:08:01 +03:00
Andrey Antukh
955b864da5
Show ugly marker on available interaction when interaction flag is activated.
Deactivated by default and requires a designer review.
2016-07-30 23:38:58 +03:00
Andrey Antukh
d6cd45c6da
Leave open the sitemap on view app by default. 2016-07-30 23:38:06 +03:00
Andrey Antukh
10cfa2439a
Add useful comment. 2016-07-30 22:54:01 +03:00
Andrey Antukh
668898903f
Add missing gotopage interaction. 2016-07-30 22:47:55 +03:00