summaryrefslogtreecommitdiffhomepage
path: root/lib/camera/wrappers/line_wrapper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/camera/wrappers/line_wrapper.rb')
-rw-r--r--lib/camera/wrappers/line_wrapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/camera/wrappers/line_wrapper.rb b/lib/camera/wrappers/line_wrapper.rb
index d2c1801..7d4d944 100644
--- a/lib/camera/wrappers/line_wrapper.rb
+++ b/lib/camera/wrappers/line_wrapper.rb
@@ -19,7 +19,7 @@ module Camera
#Methods for moving the shape
def x
- @x ||= x1
+ @x ||= 0
end
def x=(x)
@@ -27,7 +27,7 @@ module Camera
end
def y
- @y ||= y1
+ @y ||= 0
end
def y=(y)