v1.2.0: increased the duration of the badge banner popup
This commit is contained in:
parent
f58edf216e
commit
adfce863d6
|
@ -897,6 +897,7 @@ public class Badges {
|
|||
|
||||
if (!badge.meta) {
|
||||
GLog.h( Messages.get(Badges.class, "endorsed", badge.title()) );
|
||||
GLog.newLine();
|
||||
}
|
||||
|
||||
} else {
|
||||
|
@ -905,6 +906,7 @@ public class Badges {
|
|||
saveNeeded = true;
|
||||
|
||||
GLog.h( Messages.get(Badges.class, "new", badge.title() + " (" + badge.desc() + ")") );
|
||||
GLog.newLine();
|
||||
PixelScene.showBadge( badge );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,9 +42,9 @@ public class BadgeBanner extends Image {
|
|||
|
||||
private static final float DEFAULT_SCALE = 3;
|
||||
|
||||
private static final float FADE_IN_TIME = 0.2f;
|
||||
private static final float FADE_IN_TIME = 0.25f;
|
||||
private static final float STATIC_TIME = 1f;
|
||||
private static final float FADE_OUT_TIME = 1.0f;
|
||||
private static final float FADE_OUT_TIME = 1.75f;
|
||||
|
||||
private int index;
|
||||
private float time;
|
||||
|
|
Loading…
Reference in New Issue
Block a user