mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 23:36:47 +00:00
Don't attempt to draw if we don't have any icons to draw.
This commit is contained in:
@@ -355,6 +355,9 @@ main(int launchID)
|
||||
// Bug makes 1.0f alpha fail.
|
||||
color(1.0f, 1.0f, 1.0f, 0.99f);
|
||||
|
||||
if (iconCount <= 0) {
|
||||
return 1;
|
||||
}
|
||||
int lastIcon = iconCount-1;
|
||||
|
||||
int page = g_PosPage;
|
||||
|
||||
Reference in New Issue
Block a user