Improved Transform Controls
This mod enhances the default Transform (warp) Controls.
Mod introduces 4 main features:
- Anchor: when disabled, all transformations are relative not to the anchor but to the opposite side (like in Photoshop).
- Snap: snap the anchor to the transform points.
- Grid snap:
- snap positions of pivot points to the grid (only when rotation is multiple of 90),
- snap anchor position to the grid,
- snap rotation to the multiples of 45 degrees.
- Free rotation: rotate transform interface without rotating transformed objects.
You can use Ctrl and Shift keys to do certain actions:
- Shift:
- grid snap
- Ctrl:
- anchor snap - when dragging the anchor
- free rotation - when dragging the rotation control
- transform relative to the center - when anchor is disabled
Mod also adds some nice details such as:
- Visible transform rectangle and extra guides
- Keeping transform interface buttons vertical during rotation
And fixes some RobTop's bugs:
- Fixed bug when the 'Lock' button sprite size doesn't match the button touch box
- Fixed overlap of buttons with the controls after certain transforms
- Fixed RobTop's crash when transforming extremely thin objects
- Fixed RobTop's bug with incorrect transforms in Undo-Redo
Contribution
- You can report a bug or suggest a feature on my Discord server
- You can contribute to the code on GitHub