diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-31 20:36:42 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2024-01-31 20:36:42 +0100 |
commit | 7f264b320cf89b18a28a592dd5d79d6cd107c677 (patch) | |
tree | 631a946153338753ee6b51cfb3919f343c65ff58 /src/main/java/at | |
parent | b5977b31bc5244d047c7963a727c43047e5e2203 (diff) | |
download | skyhanni-7f264b320cf89b18a28a592dd5d79d6cd107c677.tar.gz skyhanni-7f264b320cf89b18a28a592dd5d79d6cd107c677.tar.bz2 skyhanni-7f264b320cf89b18a28a592dd5d79d6cd107c677.zip |
Fixed gui positions moving into the bottom right corner when leaving the gui position editor while pressing mouse button on next reopen.
Diffstat (limited to 'src/main/java/at')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt index 4e72a0fb4..88ec9e054 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt +++ b/src/main/java/at/hannibal2/skyhanni/config/core/config/gui/GuiPositionEditor.kt @@ -42,6 +42,9 @@ class GuiPositionEditor(private val positions: List<Position>, private val borde override fun onGuiClosed() { super.onGuiClosed() clickedPos = -1 + for (position in positions) { + position.clicked = false + } OtherInventoryData.close() } @@ -235,4 +238,4 @@ class GuiPositionEditor(private val positions: List<Position>, private val borde else hovered.scale += .1F } -}
\ No newline at end of file +} |