This commit is contained in:
binarycat 2022-03-12 14:06:55 -05:00
parent eab4cbbcdc
commit 5189bef537

View File

@ -371,7 +371,6 @@ function drawEditorRooms()
for _, room in pairs(LoadedObjects.Rooms) do
love.graphics.setColor(0,0,100,1)
room:asRect():draw("line")
--love.graphics.rectangle("line",room.from.x-Camera.pos.x, room.from.y-Camera.pos.y, room.width, room.height)
end
end
@ -383,12 +382,9 @@ end
function doEditorMultiselect()
local mousept = Camera:mouseGamePos()
if editor.multiselect.box == nil then
print("sweep started")
editor.multiselect.box = Rect:fromPoints(mousept, mousept)
print("box: "..tostring(editor.multiselect.box))
elseif editor.multiselect.sweeping then
editor.multiselect.box.max = mousept
frameDebug("swept to "..tostring(mousept))
end
end