You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this feature is already implemented (possibly is, since I saw it somewhere in the code). Other programs have a feature where you can move an object in only one axis. In Inkscape it's Ctrl, in Figma it's Shift.
I think I saw it somewhere in TransformAnimator, but in the scale property, where there was a prop "onlyXAxis" and "onlyYAxis" and there you would scaleX/Y += scaleBy;. In this case, do the same but for moving.
There's one more thing: the original position of the object is reserved a special place and you can return to it easily by snapping. I don't know how this would look like in code.
The text was updated successfully, but these errors were encountered:
It's already implemented; you just click the object you want to move, press G and then press the letter of the axis you want to move it on (so the X and Y key for the x and y axes).
Left-clicking confirms the new position and right-clicking sends the selected object(s) back to their initial position.
I don't know if this feature is already implemented (possibly is, since I saw it somewhere in the code). Other programs have a feature where you can move an object in only one axis. In Inkscape it's Ctrl, in Figma it's Shift.
I think I saw it somewhere in TransformAnimator, but in the scale property, where there was a prop "onlyXAxis" and "onlyYAxis" and there you would
scaleX/Y += scaleBy;
. In this case, do the same but for moving.There's one more thing: the original position of the object is reserved a special place and you can return to it easily by snapping. I don't know how this would look like in code.
The text was updated successfully, but these errors were encountered: