aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-26 17:15:28 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-12-26 17:15:28 +0100
commitdea252c20bef556b4747b15b2d031c5ee31571e6 (patch)
tree9874dff09b54a559109bdcae95b94ea454cdeb97 /src/main/java/at/hannibal2/skyhanni/config/features
parent8f132d5ef584f31475421faf7a1ce673e63afa2d (diff)
downloadskyhanni-dea252c20bef556b4747b15b2d031c5ee31571e6.tar.gz
skyhanni-dea252c20bef556b4747b15b2d031c5ee31571e6.tar.bz2
skyhanni-dea252c20bef556b4747b15b2d031c5ee31571e6.zip
Rift time now updates correctly in wizard tower and instantly updates the format when toggling max time or percentage.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java
index f1c7f32dd..9a8851150 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/rift/RiftTimerConfig.java
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
+import io.github.moulberry.moulconfig.observer.Property;
public class RiftTimerConfig {
@@ -17,12 +18,12 @@ public class RiftTimerConfig {
@Expose
@ConfigOption(name = "Max Time", desc = "Show max time.")
@ConfigEditorBoolean
- public boolean maxTime = true;
+ public Property<Boolean> maxTime = Property.of(true);
@Expose
@ConfigOption(name = "Percentage", desc = "Show percentage.")
@ConfigEditorBoolean
- public boolean percentage = true;
+ public Property<Boolean> percentage = Property.of(true);
@Expose
public Position timerPosition = new Position(10, 10, false, true);