[touch] Indicate level up in a touch friendly way

This commit is contained in:
Anders Jenbo 2021-10-26 06:38:06 +02:00
commit 609414fd69
4 changed files with 8 additions and 1 deletions

View file

@ -1264,10 +1264,12 @@ void DrawView(const Surface &out, Point startPosition)
} else if (QuestLogIsOpen) {
DrawQuestLog(out);
}
#ifndef VIRTUAL_GAMEPAD
if (!chrflag && Players[MyPlayerId]._pStatPts != 0 && !spselflag
&& (!QuestLogIsOpen || !LeftPanel.Contains(MainPanel.position + Displacement { 0, -74 }))) {
DrawLevelUpIcon(out);
}
#endif
if (ShowUniqueItemInfoBox) {
DrawUniqueInfo(out);
}