1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

fixed fontsize to vid.fontsize on mobile devices

This commit is contained in:
Zeno Rogue 2021-05-29 12:17:42 +02:00
parent 3f7fc5f2b9
commit d4a03aa780
2 changed files with 2 additions and 2 deletions

View File

@ -350,7 +350,7 @@ extern "C" void Java_com_roguetemple_hyperroid_HyperRogue_update
vid.xres = xres;
vid.yres = yres;
vid.fsize = (min(vid.xres, vid.yres) * fontscale + 50) / 3200;
vid.fsize = (min(vid.xres, vid.yres) * vid.fontscale + 50) / 3200;
mousex = _mousex;
mousey = _mousey;

View File

@ -219,7 +219,7 @@ EX void mobile_draw(MOBPAR_FORMAL) {
shmup::turn(tdiff);
safety = false;
vid.fsize = (min(vid.xres, vid.yres) * fontscale + 50) / 3200;
vid.fsize = (min(vid.xres, vid.yres) * vid.fontscale + 50) / 3200;
mouseoh = mouseh;
gtouched = mousepressed = clicked;