mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-22 22:45:39 +00:00
Remove port state, fix background not darkening in room editor
This commit is contained in:
@@ -65,10 +65,7 @@ void GetWindowRect (WindowPtr theWindow, Rect *bounds)
|
||||
void GetLocalWindowRect (WindowPtr theWindow, Rect *bounds)
|
||||
{
|
||||
if (theWindow != nil)
|
||||
{
|
||||
SetPortWindowPort(theWindow);
|
||||
*bounds = theWindow->GetDrawSurface()->m_port.GetRect();
|
||||
}
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- FlagWindowFloating
|
||||
|
Reference in New Issue
Block a user