mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix wrong button highlighting in interface settings
This commit is contained in:
parent
44150f6540
commit
4505e1d0b7
@ -700,7 +700,6 @@ impl<'a> Widget for Interface<'a> {
|
|||||||
.right_from(state.ids.show_shortcuts_button, 10.0)
|
.right_from(state.ids.show_shortcuts_button, 10.0)
|
||||||
.font_size(self.fonts.cyri.scale(14))
|
.font_size(self.fonts.cyri.scale(14))
|
||||||
.font_id(self.fonts.cyri.conrod_id)
|
.font_id(self.fonts.cyri.conrod_id)
|
||||||
.graphics_for(state.ids.show_shortcuts_button)
|
|
||||||
.color(TEXT_COLOR)
|
.color(TEXT_COLOR)
|
||||||
.set(state.ids.show_shortcuts_text, ui);
|
.set(state.ids.show_shortcuts_text, ui);
|
||||||
// Buff Position
|
// Buff Position
|
||||||
@ -732,7 +731,7 @@ impl<'a> Widget for Interface<'a> {
|
|||||||
.right_from(state.ids.buff_pos_bar_button, 10.0)
|
.right_from(state.ids.buff_pos_bar_button, 10.0)
|
||||||
.font_size(self.fonts.cyri.scale(14))
|
.font_size(self.fonts.cyri.scale(14))
|
||||||
.font_id(self.fonts.cyri.conrod_id)
|
.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)
|
.color(TEXT_COLOR)
|
||||||
.set(state.ids.buff_pos_bar_text, ui);
|
.set(state.ids.buff_pos_bar_text, ui);
|
||||||
// Buffs left from minimap
|
// Buffs left from minimap
|
||||||
@ -759,7 +758,7 @@ impl<'a> Widget for Interface<'a> {
|
|||||||
.right_from(state.ids.buff_pos_map_button, 10.0)
|
.right_from(state.ids.buff_pos_map_button, 10.0)
|
||||||
.font_size(self.fonts.cyri.scale(14))
|
.font_size(self.fonts.cyri.scale(14))
|
||||||
.font_id(self.fonts.cyri.conrod_id)
|
.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)
|
.color(TEXT_COLOR)
|
||||||
.set(state.ids.buff_pos_map_text, ui);
|
.set(state.ids.buff_pos_map_text, ui);
|
||||||
// Slots text
|
// Slots text
|
||||||
|
Loading…
Reference in New Issue
Block a user