mirror of
https://github.com/TimeCrafters/timecrafters_configuration_tool_desktop.git
synced 2025-12-15 21:32:35 +00:00
Added icon for game clock, updated game clock background image, made game clock background image auto-scale to fit window
This commit is contained in:
@@ -159,7 +159,9 @@ module TAC
|
||||
end
|
||||
|
||||
def draw
|
||||
@background_image.draw(0, 0, -3)
|
||||
background_image_scale = [window.width.to_f / @background_image.width, window.height.to_f / @background_image.height].max
|
||||
|
||||
@background_image.draw(0, 0, -3, background_image_scale, background_image_scale)
|
||||
@particle_emitters.each(&:draw)
|
||||
@clock.draw
|
||||
|
||||
|
||||
Reference in New Issue
Block a user