Skip to content

Commit

Permalink
Merge pull request #1058 from sgtbigman/show-waiting-cursor-clear-are…
Browse files Browse the repository at this point in the history
…a-phase

[RDY] Show waiting cursor during clear area phase
  • Loading branch information
TheCycoONE committed Jun 21, 2016
2 parents 095da37 + 0c5a72d commit 81213ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CorsixTH/Lua/dialogs/edit_room.lua
Expand Up @@ -342,7 +342,7 @@ function UIEditRoom:clearArea()
self.check_for_clear_area_timer = 10
self.humanoids_to_watch = humanoids_to_watch
self.ui:setDefaultCursor "sleep"
self.ui:setCursor(self.ui.waiting_cursor)
end
function UIEditRoom:onTick()
Expand Down Expand Up @@ -1345,7 +1345,7 @@ function UIEditRoom:onCursorWorldPositionChange(x, y)
end
end
else
if self.phase ~= "objects" then
if self.phase ~= "clear_area" and self.phase ~= "objects" then
ui:setCursor(ui.app.gfx:loadMainCursor("resize_room"))
end
local cell_x, cell_y, wall = self:screenToWall(self.x + x, self.y + y)
Expand Down

0 comments on commit 81213ba

Please sign in to comment.