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:
parent
3f7fc5f2b9
commit
d4a03aa780
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user