mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-20 22:09:55 +00:00
slider icons fix
This commit is contained in:
parent
ce552926aa
commit
359629fe27
2 changed files with 2 additions and 2 deletions
|
|
@ -237,7 +237,7 @@ class Window_Settings
|
|||
:type => :slider,
|
||||
:name => "Density of glen fireflies",
|
||||
:parameter => :max_particle_count_firefly,
|
||||
:icon => [1, 1],
|
||||
:icon => [1, 1],
|
||||
:min => 0,
|
||||
:max => 30
|
||||
},
|
||||
|
|
|
|||
|
|
@ -570,9 +570,9 @@ class Window_Settings
|
|||
end
|
||||
|
||||
def redraw()
|
||||
redraw_icon
|
||||
offset = !!@icon_position ? ICON_SIZE * 2 + 8 : 0
|
||||
@sprite.bitmap.clear
|
||||
redraw_icon
|
||||
@sprite.bitmap.font.color = Color.new(255, 255, 255)
|
||||
|
||||
@sprite.bitmap.draw_text(offset, 0, @sprite.bitmap.width - @value_width - offset, @sprite.bitmap.height, tr(@name))
|
||||
|
|
|
|||
Loading…
Reference in a new issue