- [NEW] F1 reduix el zoom de la finestra fins a 1x.
- [NEW] F2 augmenta el zoom de la finestra fins al màxim que cap a la pantalla.
This commit is contained in:
@@ -80,10 +80,10 @@ function _init()
|
||||
end
|
||||
|
||||
function _update()
|
||||
if btnp(KEY_F2) then
|
||||
local val = zoom() + 2
|
||||
if val >= 10 then val = 2 end
|
||||
zoom(val)
|
||||
if btnp(KEY_F1) then
|
||||
zoom(zoom()-1)
|
||||
elseif btnp(KEY_F2) then
|
||||
zoom(zoom()+1)
|
||||
elseif btnp(KEY_F3) then
|
||||
local fs = fullscreen()
|
||||
fullscreen(not fs)
|
||||
|
||||
Reference in New Issue
Block a user