Merge branch 'master' of ssh://forgejo.xatacraft.ru:2222/Sunshine/mkxp-sunshine

This commit is contained in:
DepressedTWM 2026-08-19 19:38:56 +04:00
commit 90499fba51
2 changed files with 2 additions and 2 deletions

View file

@ -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
},

View file

@ -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))