From 4505e1d0b797a36e02489fa31f89f0745334ceec Mon Sep 17 00:00:00 2001 From: coffee-compiler <22056268-coffee-compiler@users.noreply.gitlab.com> Date: Wed, 31 Jul 2024 16:05:21 +0000 Subject: [PATCH] Fix wrong button highlighting in interface settings --- voxygen/src/hud/settings_window/interface.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/voxygen/src/hud/settings_window/interface.rs b/voxygen/src/hud/settings_window/interface.rs index 1eadc59773..34f4ead889 100644 --- a/voxygen/src/hud/settings_window/interface.rs +++ b/voxygen/src/hud/settings_window/interface.rs @@ -700,7 +700,6 @@ impl<'a> Widget for Interface<'a> { .right_from(state.ids.show_shortcuts_button, 10.0) .font_size(self.fonts.cyri.scale(14)) .font_id(self.fonts.cyri.conrod_id) - .graphics_for(state.ids.show_shortcuts_button) .color(TEXT_COLOR) .set(state.ids.show_shortcuts_text, ui); // Buff Position @@ -732,7 +731,7 @@ impl<'a> Widget for Interface<'a> { .right_from(state.ids.buff_pos_bar_button, 10.0) .font_size(self.fonts.cyri.scale(14)) .font_id(self.fonts.cyri.conrod_id) - .graphics_for(state.ids.show_shortcuts_button) + .graphics_for(state.ids.buff_pos_bar_button) .color(TEXT_COLOR) .set(state.ids.buff_pos_bar_text, ui); // Buffs left from minimap @@ -759,7 +758,7 @@ impl<'a> Widget for Interface<'a> { .right_from(state.ids.buff_pos_map_button, 10.0) .font_size(self.fonts.cyri.scale(14)) .font_id(self.fonts.cyri.conrod_id) - .graphics_for(state.ids.show_shortcuts_button) + .graphics_for(state.ids.buff_pos_map_button) .color(TEXT_COLOR) .set(state.ids.buff_pos_map_text, ui); // Slots text