resize elements from center point (#1225)
* add hint & support multi-line hints * resize from center point using the new resize maths * resize with origin element when lifting alt key * add readonly to elementOriginPosition * add setResizeWithCenterKeyLifted * isResizeFromCenter logic * offsetX and offsetY * simplify equations * creating element from center point * lint * lint * lint * remove revert on key up logic Co-authored-by: dwelle <luzar.david@gmail.com> Co-authored-by: daishi <daishi@axlight.com>
This commit is contained in:
@ -109,7 +109,7 @@
|
||||
"hints": {
|
||||
"linearElement": "Click to start multiple points, drag for single line",
|
||||
"linearElementMulti": "Click on last point or press Escape or Enter to finish",
|
||||
"resize": "You can constrain proportions by holding SHIFT while resizing",
|
||||
"resize": "You can constrain proportions by holding SHIFT while resizing,\nhold ALT to resize from the center",
|
||||
"rotate": "You can constrain angles by holding SHIFT while rotating"
|
||||
},
|
||||
"errorSplash": {
|
||||
|
Reference in New Issue
Block a user