more work on editor and selecting tiles, not done yet tho

This commit is contained in:
lustlion
2022-01-19 21:57:45 +01:00
parent 2b323fff8f
commit 15e8142c4c
4 changed files with 100 additions and 73 deletions

View File

@@ -115,12 +115,7 @@ end
function love.wheelmoved(_, y)
if editor_mode then
if palette then
p_scroll = p_scroll + y or 0
else
local oscale = game.scale
game.scale = math.max(0.1,game.scale + y/16)
end
EditorScroll(y)
end
end