lib/shoes/swt/redrawing_aspect.rb in shoes-swt-4.0.0.pre3 vs lib/shoes/swt/redrawing_aspect.rb in shoes-swt-4.0.0.pre4
- old
+ new
@@ -23,10 +23,10 @@
# only the main thread may draw
NEED_TO_ASYNC_UPDATE_GUI = { ::Shoes::Download => [:eval_block] }
# These need to trigger a redraw
SAME_POSITION = { Common::Visibility => [:update_visibility],
- Image => [:update_image],
+ Image => [:create_image],
::Shoes::Common::Style => [:update_style],
::Shoes::Common::Remove => [:remove],
::Shoes::Slot => [:mouse_hovered,
:mouse_left],
::Shoes::TextBlock => [:replace] }