mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-25 22:52:49 +00:00
shift+mousewheel for zoom works in rug
This commit is contained in:
parent
1b87043aa7
commit
fc9adf8960
@ -912,7 +912,7 @@ EX void handle_event(SDL_Event& ev) {
|
|||||||
mapeditor::scaleall(pow(2, dir), lctrlclick);
|
mapeditor::scaleall(pow(2, dir), lctrlclick);
|
||||||
pconf.alpha *= pow(2, dir);
|
pconf.alpha *= pow(2, dir);
|
||||||
}
|
}
|
||||||
else if(lshiftclick && !rug::rugged && GDIM == 2)
|
else if(lshiftclick && GDIM == 2)
|
||||||
mapeditor::scaleall(pow(2, dir), lctrlclick);
|
mapeditor::scaleall(pow(2, dir), lctrlclick);
|
||||||
else if(rshiftclick && !rug::rugged && GDIM == 2)
|
else if(rshiftclick && !rug::rugged && GDIM == 2)
|
||||||
pconf.alpha -= dir;
|
pconf.alpha -= dir;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user