_drag refactor
This commit is contained in:
@@ -304,12 +304,6 @@ void SDLPlatform::Tick()
|
||||
buttonUpEvent.motion.x = mousePosition.X;
|
||||
buttonUpEvent.motion.y = mousePosition.Y;
|
||||
draggedWindow->HandleEvent(buttonUpEvent);
|
||||
//SDL_PushEvent(&buttonUpEvent);
|
||||
|
||||
if (!draggedWindow->GetSettings().IsTopmost)
|
||||
draggedWindow->SetIsAlwaysOnTop(false);
|
||||
draggedWindow->BringToFront();
|
||||
|
||||
draggedWindow = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user