aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/layout/Layout.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/model/layout/Layout.java')
-rw-r--r--src/main/model/layout/Layout.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/model/layout/Layout.java b/src/main/model/layout/Layout.java
index 4dbedb5..4d9f48f 100644
--- a/src/main/model/layout/Layout.java
+++ b/src/main/model/layout/Layout.java
@@ -86,7 +86,8 @@ public abstract class Layout {
// man, fuck design patterns, this is so much goddamn code
public void setLocation(Point point) {
- this.location = point;
+ this.location.x = point.x;
+ this.location.y = point.y;
}
public void setX(double x) {