lib/shoes/basic.rb in green_shoes-1.0.331 vs lib/shoes/basic.rb in green_shoes-1.0.337

- old
+ new

@@ -151,12 +151,12 @@ attr_reader :path def path=(name) @path = name @real.clear - args = {width: @width, height: @height} + args = {width: @width, height: @height, noorder: true} args.merge!({hidden: true}) if @hided - @real = @app.image(name, args).move(@left, @top).real + @real = @app.image(name, args).move(@left, @top).real.tap{@app.flush} end def rotate angle (@real_orig, @first_time = @real, true) unless @real_orig len = Math.sqrt @width**2 + @height**2