lib/cyberarm_engine/ui/elements/flow.rb in cyberarm_engine-0.19.0 vs lib/cyberarm_engine/ui/elements/flow.rb in cyberarm_engine-0.19.1

- old
+ new

@@ -1,15 +1,15 @@ -module CyberarmEngine - class Element - class Flow < Container - 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 +module CyberarmEngine + class Element + class Flow < Container + 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