Fix #11516: Adjust window size by interface scale during ReInit.
To simplify this and ensure that scaling only occurs once, regardless of resize nesting, each window now remembers interface scale.
This commit is contained in:
committed by
Peter Nelson
parent
e2425b72c1
commit
3317e29847
@@ -242,6 +242,8 @@ public:
|
||||
WindowClass window_class; ///< Window class
|
||||
WindowNumber window_number; ///< Window number within the window class
|
||||
|
||||
int scale; ///< Scale of this window -- used to determine how to resize.
|
||||
|
||||
uint8_t timeout_timer; ///< Timer value of the WF_TIMEOUT for flags.
|
||||
uint8_t white_border_timer; ///< Timer value of the WF_WHITE_BORDER for flags.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user