lib/cyberarm_engine/ui/dsl.rb in cyberarm_engine-0.8.0 vs lib/cyberarm_engine/ui/dsl.rb in cyberarm_engine-0.8.1

- old
+ new

@@ -4,11 +4,11 @@ options[:parent] = @containers.last options[:theme] = current_theme _container = Flow.new(options, block) @containers << _container _container.build - options[:parent].add(_container) + _container.parent.add(_container) @containers.pop return _container end @@ -16,10 +16,10 @@ options[:parent] = @containers.last options[:theme] = current_theme _container = Stack.new(options, block) @containers << _container _container.build - options[:parent].add(_container) + _container.parent.add(_container) @containers.pop return _container end \ No newline at end of file