SpriteFramesEditor Fix preview grid in "Select Frames" dialog - #52461
Merged
akien-mga merged 1 commit intoSep 17, 2021
Merged
Conversation
akien-mga
approved these changes
Sep 17, 2021
Member
|
Thanks! |
Member
Fixes #52099 (I'll probably enhance this dialog in another PR, this one is bugfix only).
Fixes #52745.
Cherry-pickable
3.x,3.3.Makes grid being drawn according to the frames this dialog outputs (it allows integer-only frame sizes), scaling/zooming wasn't properly taken into account. Input handling is changed accordingly too. Output frames are unchanged, the preview was broken.
Example:
so the frame size is (64, 64) / (13, 11) = (4, 5)
3.4.beta4:3.x):