diff --git a/features/gui/autofill.lua b/features/gui/autofill.lua index 5f153321..4b09e4e4 100644 --- a/features/gui/autofill.lua +++ b/features/gui/autofill.lua @@ -4,8 +4,8 @@ local Event = require 'utils.event' local Settings = require 'utils.redmew_settings' local Color = require 'resources.color_presets' -local enabled_style = 'green_slot_button' -local disabled_style = 'red_slot_button' +local enabled_style = 'working_weapon_button' +local disabled_style = 'not_working_weapon_button' local style_map = {[true] = enabled_style, [false] = disabled_style} local enabled_locale_map = {[true] = {'common.enabled'}, [false] = {'common.disabled'}} @@ -52,7 +52,7 @@ local function toggle_main_frame(event) Gui.destroy(frame) main_button.style = 'icon_button' else - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/blueprint_helper.lua b/features/gui/blueprint_helper.lua index 7df48c97..1d9b702c 100644 --- a/features/gui/blueprint_helper.lua +++ b/features/gui/blueprint_helper.lua @@ -373,7 +373,7 @@ local function toggle(event) main_button.style = 'icon_button' else - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/info.lua b/features/gui/info.lua index a245990b..70504636 100644 --- a/features/gui/info.lua +++ b/features/gui/info.lua @@ -611,7 +611,7 @@ local function draw_main_frame(center, player) line_bar(frame) - local content = frame.add {type = 'frame', direction = 'vertical', style = 'image_frame'} + local content = frame.add {type = 'frame', direction = 'vertical', style = 'inside_shallow_frame'} local content_style = content.style content_style.horizontally_stretchable = true content_style.vertically_stretchable = true @@ -673,7 +673,7 @@ local function toggle(event) if main_frame then close_main_frame(main_frame, player) else - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/paint.lua b/features/gui/paint.lua index acfa1ba5..1699b4e7 100644 --- a/features/gui/paint.lua +++ b/features/gui/paint.lua @@ -149,7 +149,7 @@ local function toggle(event) Gui.destroy(main_frame) main_button.style = 'icon_button' else - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/player_list.lua b/features/gui/player_list.lua index 3698ad02..82065e6f 100644 --- a/features/gui/player_list.lua +++ b/features/gui/player_list.lua @@ -648,7 +648,7 @@ local function toggle(event) remove_main_frame(main_frame, player) main_button.style = 'icon_button' else - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/poll.lua b/features/gui/poll.lua index 628d9957..dc215868 100644 --- a/features/gui/poll.lua +++ b/features/gui/poll.lua @@ -441,7 +441,7 @@ local function toggle(event) else draw_main_frame(left, event.player) - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/redmew_settings.lua b/features/gui/redmew_settings.lua index b06c78c7..df98f8d4 100644 --- a/features/gui/redmew_settings.lua +++ b/features/gui/redmew_settings.lua @@ -187,7 +187,7 @@ local function toggle(event) else draw_main_frame(center, player) - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/score.lua b/features/gui/score.lua index 7d3f020f..d486b87a 100644 --- a/features/gui/score.lua +++ b/features/gui/score.lua @@ -149,7 +149,7 @@ Gui.on_click( if not frame then score_show(top) - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/tag_group.lua b/features/gui/tag_group.lua index 71c9422c..5caf0302 100644 --- a/features/gui/tag_group.lua +++ b/features/gui/tag_group.lua @@ -319,7 +319,7 @@ local function toggle(event) else draw_main_frame(event.player) - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/features/gui/tasklist.lua b/features/gui/tasklist.lua index d69c626e..2a807e78 100644 --- a/features/gui/tasklist.lua +++ b/features/gui/tasklist.lua @@ -457,7 +457,7 @@ local function toggle(event) else draw_main_frame(left, player) - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38 diff --git a/map_gen/maps/diggy/feature/experience.lua b/map_gen/maps/diggy/feature/experience.lua index 2892b921..29be2a65 100644 --- a/map_gen/maps/diggy/feature/experience.lua +++ b/map_gen/maps/diggy/feature/experience.lua @@ -508,7 +508,7 @@ function Experience.toggle(event) return end - main_button.style = 'selected_slot_button' + main_button.style = 'slot_sized_button' local style = main_button.style style.width = 38 style.height = 38