Skip to content

Commit

Permalink
Point based placements are now on mouse release rather than mouse pre…
Browse files Browse the repository at this point in the history
…ssed

Prevents placements when attempting to swap rooms
  • Loading branch information
Cruor committed Feb 27, 2021
1 parent 67a6e1d commit fc0c82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/placement.lua
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ function tool.mousepressed(x, y, button, istouch, presses)

if px and py then
dragStarted(px, py)
placePointPlacement()
end
end
end
Expand Down Expand Up @@ -396,6 +395,7 @@ function tool.mousereleased(x, y, button, istouch, presses)

if button == actionButton then
dragFinished()
placePointPlacement()
end
end

Expand Down

0 comments on commit fc0c82a

Please sign in to comment.