Fix the window sizer losing focus when rapidly dragging the mouse

This would lead to annoyances when trying to resize the window as the window sizer would lose focus
This commit is contained in:
smallmodel 2024-12-20 20:13:05 +01:00 committed by GitHub
parent 011f49616b
commit e6848a3ab0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,6 +35,10 @@ UIWindowSizer::UIWindowSizer()
{
m_draggingwidget = NULL;
m_mouseState = M_NONE;
// Added in OPM
// So this can be made as the first responder
m_canactivate = true;
}