lib/vedeu/cursors/cursor.rb in vedeu-0.6.70 vs lib/vedeu/cursors/cursor.rb in vedeu-0.6.71
- old
+ new
@@ -214,10 +214,10 @@
# Return the position of this cursor.
#
# @return [Vedeu::Geometries::Position]
def position
- @position = Vedeu::Geometries::Position[y, x]
+ @position = Vedeu::Geometries::Position.coerce([y, x])
end
# Show a named cursor, or without a name, the cursor of the
# currently focussed interface.
#