We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf27889 + e3c02dc commit 1c92a7bCopy full SHA for 1c92a7b
osu.Framework/Platform/SDL3/SDL3Window.cs
@@ -335,7 +335,10 @@ protected void HandleEventFromWatch(SDL_Event evt)
335
case SDL_EventType.SDL_EVENT_WINDOW_RESIZED:
336
// polling via SDL_PollEvent blocks on resizes (https://stackoverflow.com/a/50858339)
337
if (!updatingWindowStateAndSize)
338
- fetchWindowSize(storeToConfig: false);
+ {
339
+ bool isUserResizing = SDL_GetGlobalMouseState(null, null).HasFlagFast(SDL_MouseButtonFlags.SDL_BUTTON_LMASK);
340
+ fetchWindowSize(storeToConfig: isUserResizing);
341
+ }
342
343
break;
344
}
0 commit comments