Fixed confirm and tacnet dialogs not using correct titlebar background and border colors

This commit is contained in:
2021-09-30 11:06:28 -05:00
parent fd6eb64232
commit c609734357
2 changed files with 4 additions and 5 deletions

View File

@@ -7,9 +7,8 @@ module TAC
color = @dangerous ? Palette::DANGEROUS : Palette::ALERT
@dialog_root.style.border_color = [ color, darken(color, 50) ]
@titlebar.style.background = [ color, darken(color, 50) ]
@dialog_root.style.default[:border_color] = [ color, darken(color, 50) ]
@titlebar.style.default[:background] = [ color, darken(color, 50) ]
background Gosu::Color::GRAY
label @options[:message]