aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/core/config/Position.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/core/config/Position.java b/src/main/java/at/hannibal2/skyhanni/config/core/config/Position.java
index ec1f4fbfc..137d58138 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/core/config/Position.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/core/config/Position.java
@@ -104,7 +104,7 @@ public class Position {
if (wasPositiveX) {
if (this.x < 0) {
- deltaX += -this.x;
+ deltaX -= this.x;
this.x = 0;
}
if (this.x > screenWidth) {
@@ -138,7 +138,7 @@ public class Position {
if (wasPositiveY) {
if (this.y < 0) {
- deltaY += -this.y;
+ deltaY -= this.y;
this.y = 0;
}
if (this.y > screenHeight) {