aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-11-03 06:48:51 +1100
committerGitHub <noreply@github.com>2023-11-02 20:48:51 +0100
commit2ce84766100584a5aaf516a2cbf0907585aaa07e (patch)
treef3451f548165cace76686caddb82ef5b3552776f /src/main/java/at/hannibal2/skyhanni/config
parentec2d189ede2487a98943339fa7816a0e948e7a90 (diff)
downloadskyhanni-2ce84766100584a5aaf516a2cbf0907585aaa07e.tar.gz
skyhanni-2ce84766100584a5aaf516a2cbf0907585aaa07e.tar.bz2
skyhanni-2ce84766100584a5aaf516a2cbf0907585aaa07e.zip
actually fix mouse locking (#662)
Fixed mouse sensitivity stuck after restarting by storing old sensitivity. #662
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Storage.java11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Storage.java b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
index 21ed83b00..a63477a07 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Storage.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Storage.java
@@ -1,16 +1,16 @@
package at.hannibal2.skyhanni.config;
import at.hannibal2.skyhanni.data.model.ComposterUpgrade;
+import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNode;
+import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostData;
import at.hannibal2.skyhanni.features.dungeon.DungeonAPI;
+import at.hannibal2.skyhanni.features.event.jerry.frozentreasure.FrozenTreasure;
import at.hannibal2.skyhanni.features.fishing.trophy.TrophyRarity;
import at.hannibal2.skyhanni.features.garden.CropAccessory;
import at.hannibal2.skyhanni.features.garden.CropType;
import at.hannibal2.skyhanni.features.garden.farming.FarmingArmorDrops;
import at.hannibal2.skyhanni.features.garden.fortuneguide.FarmingItems;
import at.hannibal2.skyhanni.features.garden.visitor.VisitorReward;
-import at.hannibal2.skyhanni.features.combat.endernodetracker.EnderNode;
-import at.hannibal2.skyhanni.features.event.jerry.frozentreasure.FrozenTreasure;
-import at.hannibal2.skyhanni.features.combat.ghostcounter.GhostData;
import at.hannibal2.skyhanni.features.mining.powdertracker.PowderChestReward;
import at.hannibal2.skyhanni.features.misc.trevor.TrevorTracker;
import at.hannibal2.skyhanni.features.misc.visualwords.VisualWord;
@@ -32,6 +32,9 @@ public class Storage {
public boolean hasPlayedBefore = false;
@Expose
+ public Float savedMouseSensitivity = .5f;
+
+ @Expose
public Map<String, List<String>> knownFeatureToggles = new HashMap<>();
@Expose
@@ -457,4 +460,4 @@ public class Storage {
public Map<DungeonAPI.DungeonFloor, Integer> bosses = new HashMap<>();
}
}
-} \ No newline at end of file
+}