Skip to content

Commit

Permalink
Screenshots and right/bottom parameter correction for the web version
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowAfterlife committed Nov 19, 2024
1 parent a4b7d6c commit b3d9c1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ Resizes and/or moves the contents of GameMaker (LTS / GM2022+) rooms.

Mostly exists to help with the specific problem of "I want to resize my room towards top/left without moving my layers by hand". If you know, you know.

| [![](media/before.png)](media/before.png) | [![](media/after.png)](media/after.png) |
| - | - |

Don't forget to backup your project before using the tool!

## Use ([web version](https://yal.cc/tools/gm/room-shifter/))
Expand Down
Binary file added media/after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/MainWeb.hx
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class MainWeb {
opt.offsetX = opt.sizeDX;
opt.sizeDY = int(opt_top);
opt.offsetY = opt.sizeDY;
opt.offsetX += int(opt_right);
opt.offsetY += int(opt_bottom);
opt.sizeDX += int(opt_right);
opt.sizeDY += int(opt_bottom);
opt.width = int(opt_width);
opt.height = int(opt_height);
opt.halign = flt(opt_halign);
Expand Down

0 comments on commit b3d9c1b

Please sign in to comment.