From dfb9378c6d85ac2e4406183b80aad242fa83cd54 Mon Sep 17 00:00:00 2001 From: Cyberarm Date: Fri, 27 Mar 2026 10:59:22 -0500 Subject: [PATCH] Remove unneeded string to integer conversions in Theme --- lib/cyberarm_engine/ui/theme.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cyberarm_engine/ui/theme.rb b/lib/cyberarm_engine/ui/theme.rb index 13b52d3..f660fc5 100644 --- a/lib/cyberarm_engine/ui/theme.rb +++ b/lib/cyberarm_engine/ui/theme.rb @@ -72,21 +72,21 @@ module CyberarmEngine margin: 1, padding: 4, border_thickness: 1, - border_color: ["ffd59674".hex, "ffff8746".hex], + border_color: [0xffd59674, 0xffff8746], border_radius: 0, - background: ["ffc75e61".to_i(16), "ffe26623".to_i(16)], + background: [0xffc75e61, 0xffe26623], text_align: :center, text_v_align: :center, text_wrap: :none, hover: { color: Gosu::Color.rgb(200, 200, 200), - background: ["ffB23E41".to_i(16), "ffFF7C00".to_i(16)] + background: [0xffB23E41, 0xffFF7C00] }, active: { color: Gosu::Color::BLACK, - background: ["ffB23E41".to_i(16)] + background: [0xffB23E41] }, disabled: {