From c6dd031c9a929f6ece2586dd54b073d19f293e85 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 21 Mar 2022 17:12:21 -0400 Subject: [PATCH] v1.2.0:improved the noticeablity of the journal button flashing --- .../com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java index c9f0cbde7..9436407f9 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/MenuPane.java @@ -268,6 +268,7 @@ public class MenuPane extends Component { if (flashingPage != null){ journalIcon.am = (float)Math.abs(Math.cos( StatusPane.FLASH_RATE * (time += Game.elapsed) )); keyIcon.am = journalIcon.am; + bg.brightness(0.5f + journalIcon.am); if (time >= Math.PI/StatusPane.FLASH_RATE) { time = 0; }