shift+mousewheel for zoom works in rug

This commit is contained in:
Zeno Rogue 2020-04-19 23:01:09 +02:00
parent 1b87043aa7
commit fc9adf8960
1 changed files with 1 additions and 1 deletions

View File

@ -912,7 +912,7 @@ EX void handle_event(SDL_Event& ev) {
mapeditor::scaleall(pow(2, dir), lctrlclick);
pconf.alpha *= pow(2, dir);
}
else if(lshiftclick && !rug::rugged && GDIM == 2)
else if(lshiftclick && GDIM == 2)
mapeditor::scaleall(pow(2, dir), lctrlclick);
else if(rshiftclick && !rug::rugged && GDIM == 2)
pconf.alpha -= dir;