K3TL4FPX65XC7EKRQEF4YYZVVP242NRSR4BGGBJ4H5LXVLN44ECAC
on.keychord_pressed = function(chord, key)
if chord == 'C-=' then
-- zoom in
Viewport.zoom = Viewport.zoom+0.1
elseif chord == 'C--' then
-- zoom out
Viewport.zoom = Viewport.zoom-0.1
elseif chord == 'C-0' then
-- reset zoom
Viewport.zoom = 1.0
end
end
{"on.keychord_pressed":17,"on.mouse_pressed":12,"Surface":3,"on.mouse_released":13,"scale":7,"on.update":14,"on":1,"vx":5,"Viewport":6,"vy":8,"parent":16,"on.draw":11}
on.keychord_pressed = function(chord, key)
if chord == 'C-=' then
-- zoom in
Viewport.zoom = Viewport.zoom+0.1
elseif chord == 'C--' then
-- zoom out
Viewport.zoom = Viewport.zoom-0.1
end
end
{"on.keychord_pressed":16,"on.mouse_pressed":12,"Surface":3,"on.mouse_released":13,"scale":7,"on.update":14,"on":1,"vx":5,"Viewport":6,"vy":8,"parent":15,"on.draw":11}
on.keychord_pressed = function(chord, key)
if chord == 'C-=' then
-- zoom in
Viewport.zoom = Viewport.zoom+0.1
end
end
{"on.keychord_pressed":15,"on.mouse_pressed":12,"Surface":3,"on.mouse_released":13,"scale":7,"on.update":14,"on":1,"vx":5,"Viewport":6,"vy":8,"parent":14,"on.draw":11}