mirror of
https://github.com/cyberarm/cyberarm_engine.git
synced 2025-12-17 05:22:35 +00:00
Fixed overdrawing on BorderCanvas for left side, fixed BackgroundImage fill mode not filling correctly, fixed Progress in marquee mode not request repaint each frame.
This commit is contained in:
@@ -75,7 +75,7 @@ module CyberarmEngine
|
||||
end
|
||||
|
||||
def draw_fill
|
||||
if @width * width_scale > height * height_scale
|
||||
if (@image.width * width_scale) >= @width && (@image.height * width_scale) >= @height
|
||||
draw_fill_width
|
||||
else
|
||||
draw_fill_height
|
||||
|
||||
Reference in New Issue
Block a user