diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt index 0f53a3e0c..e6dfa7671 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuiEditManager.kt @@ -78,14 +78,14 @@ object GuiEditManager { } @JvmStatic - fun add(position: Position, posLabel: String, x: Int, y: Int) { + fun add(position: Position, posLabel: String, width: Int, height: Int) { var name = position.internalName if (name == null) { name = if (posLabel == "none") "none " + UUID.randomUUID() else posLabel position.internalName = name } currentPositions[name] = position - currentBorderSize[posLabel] = Pair(x, y) + currentBorderSize[posLabel] = Pair(width, height) } private var lastHotkeyReminded = SimpleTimeMark.farPast() |