diff options
author | Walker Selby <git@walkerselby.com> | 2023-12-08 07:59:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 16:59:28 +0100 |
commit | 9867f18f4c5b0f51a6ecc9274152a1fb9d1dedb5 (patch) | |
tree | 161f9ed28b70bedbec2de3d9a078ea40398c4ec2 /src/main/java/at/hannibal2/skyhanni/features/garden | |
parent | f87b7f68cbbcfd7a940fc4e3888ac94545132543 (diff) | |
download | skyhanni-9867f18f4c5b0f51a6ecc9274152a1fb9d1dedb5.tar.gz skyhanni-9867f18f4c5b0f51a6ecc9274152a1fb9d1dedb5.tar.bz2 skyhanni-9867f18f4c5b0f51a6ecc9274152a1fb9d1dedb5.zip |
Localize Keypresses (#754)
Fixed control/modifier key logic on apple devices. #754
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/garden')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt index ffb08f93b..5d14fc142 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/composter/ComposterOverlay.kt @@ -421,7 +421,7 @@ object ComposterOverlay { val name = itemName.substring(0, 2) + selected + rawItemName list.add(Renderable.link("$name §8x${itemsNeeded.addSeparators()} §7(§6$format§7)") { onClick(internalName) - if (KeyboardManager.isControlKeyDown() && lastAttemptTime.passedSince() > 500.milliseconds) { + if (KeyboardManager.isModifierKeyDown() && lastAttemptTime.passedSince() > 500.milliseconds) { lastAttemptTime = SimpleTimeMark.now() retrieveMaterials(internalName, itemName, itemsNeeded.toInt()) } |