Remove port state, fix background not darkening in room editor

This commit is contained in:
elasota
2020-06-20 02:08:22 -04:00
parent 3bf689664f
commit 9d5adb9bb6
34 changed files with 45 additions and 138 deletions

View File

@@ -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);