mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Remove port state, fix background not darkening in room editor
This commit is contained in:
@@ -198,8 +198,6 @@ void EraseSelectedTool (void)
|
||||
if (toolsWindow == nil)
|
||||
return;
|
||||
|
||||
SetPort(toolsWindow->GetDrawSurface());
|
||||
|
||||
toolIcon = toolSelected;
|
||||
if ((toolMode == kBlowerMode) && (toolIcon >= 7))
|
||||
{
|
||||
@@ -470,7 +468,6 @@ void HandleToolsClick (Point wherePt)
|
||||
if (toolsWindow == nil)
|
||||
return;
|
||||
|
||||
SetPortWindowPort(toolsWindow);
|
||||
wherePt -= toolsWindow->GetTopLeftCoord();
|
||||
|
||||
part = FindControl(wherePt, toolsWindow, &theControl);
|
||||
|
Reference in New Issue
Block a user