lib/shoes/slot.rb in green_shoes-0.171.0 vs lib/shoes/slot.rb in green_shoes-0.176.0
- old
+ new
@@ -71,9 +71,10 @@
args = {}
initials.keys.each{|k| args[k] = instance_variable_get "@#{k}"}
args[:nocontrol] = true
tmp = self.is_a?(Stack) ? Stack.new(@app.slot_attributes(args), &blk) : Flow.new(@app.slot_attributes(args), &blk)
self.contents = tmp.contents
+ contents.each{|e| e.parent = self if e.is_a? Basic}
Shoes.call_back_procs @app
Shoes.set_cursor_type @app
end
end
\ No newline at end of file