lib/glimmer/swt/custom/shape.rb in glimmer-dsl-swt-4.20.12.0 vs lib/glimmer/swt/custom/shape.rb in glimmer-dsl-swt-4.20.12.1
- old
+ new
@@ -571,9 +571,11 @@
def handle_observation_request(observation_request, &block)
shape_block = lambda do |event|
block.call(event) if include?(event.x, event.y)
end
drawable.handle_observation_request(observation_request, &shape_block)
+ if shapes.present?
+ end
end
# Sets data just like SWT widgets
def set_data(key=nil, value)
@data ||= {}