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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user