lib/dedalus/application_view.rb in dedalus-0.2.0 vs lib/dedalus/application_view.rb in dedalus-0.2.1
- old
+ new
@@ -15,13 +15,12 @@
end
def compose(screen)
screen = composer.hover_molecule(screen, dimensions, mouse_position: mouse_position)
composer.render!(screen, dimensions)
-
- cursor.position = mouse_position
- cursor.render
+ # cursor.position = mouse_position
+ # cursor.render
end
def dimensions
[window.width, window.height]
end
@@ -31,14 +30,9 @@
x0,y0 = *super
[ x0 * 2, y0 * 2 ]
else
super
end
- end
-
- protected
- def cursor
- @cursor ||= Elements::Icon.for :arrow_cursor
end
private
def composer
@composer ||= Dedalus::ApplicationViewComposer.new