lib/cyberarm_engine/ui/elements/flow.rb in cyberarm_engine-0.13.0 vs lib/cyberarm_engine/ui/elements/flow.rb in cyberarm_engine-0.13.1
- old
+ new
@@ -1,17 +1,17 @@
-module CyberarmEngine
- class Element
- class Flow < Container
- include Common
-
- def layout
- @children.each do |child|
- if fits_on_line?(child)
- position_on_current_line(child)
- else
- position_on_next_line(child)
- end
- end
- end
- end
- end
+module CyberarmEngine
+ class Element
+ class Flow < Container
+ include Common
+
+ def layout
+ @children.each do |child|
+ if fits_on_line?(child)
+ position_on_current_line(child)
+ else
+ position_on_next_line(child)
+ end
+ end
+ end
+ end
+ end
end
\ No newline at end of file