1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-18 14:45:12 +00:00

added margins for mobiles

This commit is contained in:
Zeno Rogue
2020-04-06 08:46:08 +02:00
parent c76114face
commit 134d7493ed
2 changed files with 21 additions and 11 deletions

View File

@@ -904,7 +904,7 @@ EX void drawmessages() {
}
msgs.resize(i);
if(vid.msgleft == 2) {
int y = vid.yres - vid.fsize - (ISIOS ? 4 : 0);
int y = vid.yres - vid.fsize - hud_margin(1);
for(int j=isize(msgs)-1; j>=0; j--) {
int age = msgs[j].flashout * (t - msgs[j].stamp);
poly_outline = gradient(bordcolor, backcolor, 0, age, 256*vid.flashtime) << 8;