Account for Avalonia window height delta to save correct height on exit

Avalonia will make the window higher than we set (at least on Windows 11).
As a result, the saved height becomes higher when exiting the program, making the window higher on each open.
This MR stores the delta between those 2 values to save the correct window height when exiting.

This is a dirty fix, feel free to close/improve this MR.

Edited by Coxxs

Merge request reports

Loading