We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 458e5b8 commit e3c02dcCopy full SHA for e3c02dc
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