lib/cyberarm_engine/ui/elements/progress.rb in cyberarm_engine-0.24.2 vs lib/cyberarm_engine/ui/elements/progress.rb in cyberarm_engine-0.24.3
- old
+ new
@@ -17,10 +17,10 @@
def render
@fraction_background.draw
end
- def recalculate
+ def layout
_width = dimensional_size(@style.width, :width)
_height = dimensional_size(@style.height, :height)
@width = _width
@height = _height