lib/rabbit/element/text-container-element.rb in rabbit-1.0.4 vs lib/rabbit/element/text-container-element.rb in rabbit-1.0.5
- old
+ new
@@ -47,10 +47,10 @@
def do_horizontal_centering?
super and not width.nil?
end
def compile(canvas, x, y, w, h)
- super
+ compile_element(canvas, x, y, w, h)
text_compile(canvas, @x, @y, @w, @h)
end
def dirty?
super or text_dirty?