Skip to content

Actually invoke OnMouseUp handler after window scale changes#21

Open
Amadeus- wants to merge 1 commit intoResike:mainfrom
Amadeus-:PreMidnightBugFix
Open

Actually invoke OnMouseUp handler after window scale changes#21
Amadeus- wants to merge 1 commit intoResike:mainfrom
Amadeus-:PreMidnightBugFix

Conversation

@Amadeus-
Copy link
Copy Markdown

In WindowOrder.lua, when windows are rescaled the code grabs the OnMouseUp to trigger position saving, but it never actually calls the returned function — the result is just silently thrown away. This means window positions aren't properly saved after a scale change.

Fixed by calling the returned handler with (v, "LeftButton") to match the standard OnMouseUp signature. This has been broken since before the Midnight migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant