alex
ef78584045
Fix codestyle
2018-03-26 17:12:28 +01:00
Paul Kaplan
e5c6886664
Merge pull request #333 from fsih/textEdit
...
Text edit
2018-03-26 11:32:28 -04:00
Paul Kaplan
8463c4eacd
Merge pull request #327 from fsih/textTool
...
Text tool
2018-03-26 11:31:42 -04:00
Paul Kaplan
af2c49e639
Fix double clicking to enter edit mode and clearing selection.
...
The first was caused by the "lastMode" flag being stored after the
double click edit was done, causing it to immediately exit edit mode.
The second problem was that the selection should be cleared when
entering edit mode on another text area.
2018-03-26 11:23:55 -04:00
Jacco Kulman
5593b03074
Added the setSelectedItems call for wheel zooming
2018-03-26 16:40:59 +02:00
Jacco Kulman
a98ba28152
Fix 2 TRAVIS errors (whitespace, let)
2018-03-26 14:53:33 +02:00
Jacco Kulman
f707af70fd
When removing a hole, the parent should be reduced before fillColor is set
2018-03-26 13:46:25 +02:00
Jacco Kulman
0198265fb8
The radius of the circle is now divided by paper.view.zoom, and the strokeWidth also. ( Fixes #179 )
2018-03-26 13:30:11 +02:00
Jacco Kulman
3afd232aea
Call setSelectedItems from zoom functions ( Fixes #219 )
2018-03-26 12:59:26 +02:00
DD
b98708ff70
Make clicking outside of the canvas activate select mode. This way the user can change the fill color easily, instead of the text getting deselected as soon as they click fill.
2018-03-22 17:56:54 -04:00
DD
6bfc3f23df
Don't apply outline to text by default
2018-03-22 17:53:17 -04:00
DD
865554d7f3
lint
2018-03-22 17:20:39 -04:00
DD
3782d5ad6e
Add missing file
2018-03-22 16:22:38 -04:00
DD
b1d5111ed4
fix lint
2018-03-22 16:22:24 -04:00
DD
28da99bb05
Check for text area in a better way
2018-03-22 15:26:43 -04:00
DD
baf628c5c9
Detect view bounds changes and update the edit text matrix in response
2018-03-22 15:23:51 -04:00
DD
0c4f545326
Add transform when zoomed in
2018-03-22 14:34:46 -04:00
DD
c75d3f63ba
Add undo
2018-03-22 14:31:03 -04:00
DD Liu
86ee3d8cdd
Edit text moves with text transform
2018-03-22 11:07:10 -04:00
DD
1d29a7dceb
Showing text on top of other text
2018-03-20 17:26:27 -04:00
DD
da0864b81b
Add a text edit area
2018-03-20 14:47:14 -04:00
DD
cbd2a89cd0
Merge branch 'develop' into textTool
2018-03-20 14:16:47 -04:00
DD Liu
724fe85645
Merge pull request #325 from fsih/unfocusText
...
Unfocus text fields when canvas clicked and don't take keystrokes in canvas when text fields are focused
2018-03-20 14:06:59 -04:00
DD
1c093df92b
Only unblur inputs if you clicked on the paper canvas
2018-03-20 11:03:41 -04:00
DD
44eedfe225
Remove unnecessary changes
2018-03-19 14:50:05 -04:00
DD
b4294b8268
Merge branch 'develop' into textTool
2018-03-19 12:43:44 -04:00
DD
242ee0d6c7
Unfocus text fields when canvas clicked
2018-03-19 12:40:58 -04:00
DD Liu
de2d58fd79
Merge pull request #323 from fsih/playgroundSvg
...
Move the SVG in the playground back to the center of the editor
2018-03-16 15:08:03 -04:00
DD Liu
b12a9cde95
Merge pull request #324 from fsih/threshold
...
Reduce the overlap to .1
2018-03-16 15:07:31 -04:00
DD
a03567ef18
Switch to .1
2018-03-16 14:23:59 -04:00
DD
69e73d45dd
Use .25
2018-03-16 14:18:42 -04:00
DD
79e7d21023
Change proptype
2018-03-16 14:16:27 -04:00
DD
8d61a7b060
Move the text edit target to the state and make fill work
2018-03-16 11:39:09 -04:00
DD
7a0a0784e1
Unfocus text fields when canvas clicked
2018-03-15 13:23:03 -04:00
DD
de0f12074d
Unfocus text fields when canvas clicked
2018-03-15 13:20:07 -04:00
DD
254bbe1285
Ignore nudge when text field focused
2018-03-15 13:19:05 -04:00
DD
76eb0b9e3e
Reduce the overlap to .25
2018-03-14 18:12:37 -04:00
DD
8ecc426844
Move the SVG in the playground back to the center of the editor. It became offscreen when the definition of rotation center changed.
2018-03-14 18:01:15 -04:00
DD
f9aabe1beb
Fix some bugs
2018-03-14 18:00:38 -04:00
DD
240282f9d2
Make the guide stay in the shape of the text when text is rotated
2018-03-14 16:01:20 -04:00
DD
f0b570dc51
Add dotted lines in text edit mode
2018-03-14 15:28:22 -04:00
DD
4fd9f991f1
Mode switching
2018-03-14 14:43:39 -04:00
DD
8e86222097
Basic text edit
2018-03-12 17:51:23 -04:00
DD
8e7ae67ae6
Make the text tool a real tool
2018-03-09 14:40:34 -05:00
DD Liu
0d3b276e5e
Merge pull request #315 from LLK/greenkeeper/react-style-proptype-3.2.1
...
Update react-style-proptype to the latest version 🚀
2018-03-09 11:59:06 -05:00
DD Liu
325e8e6c07
Merge branch 'develop' into greenkeeper/react-style-proptype-3.2.1
2018-03-09 11:58:52 -05:00
DD Liu
02ed2ea6d7
Merge pull request #313 from LLK/greenkeeper/react-responsive-4.0.5
...
Update react-responsive to the latest version 🚀
2018-03-09 11:58:15 -05:00
DD Liu
04c76559d7
Merge pull request #309 from LLK/greenkeeper/autoprefixer-8.1.0
...
Update autoprefixer to the latest version 🚀
2018-03-09 11:58:01 -05:00
DD Liu
254457a455
Merge pull request #317 from LLK/greenkeeper/html-webpack-plugin-3.0.6
...
chore(package): update html-webpack-plugin to version 3.0.6
2018-03-09 11:57:31 -05:00
DD Liu
b2dde894f0
Merge pull request #305 from fsih/brushEfficiency
...
Brush efficiency
2018-03-08 14:10:28 -05:00