We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11131e6 commit a3f12ccCopy full SHA for a3f12cc
frontend/desktop/src/ui/config_editor/setting.rs
@@ -795,8 +795,16 @@ impl<T: RawSetting> Setting for Overridable<T> {
795
let game_override_enabled = (self.game_override_enabled)(config);
796
if tab_is_global {
797
let _id = ui.push_id("global");
798
- self.global
799
- .draw(ui, config, "", ui.content_region_avail()[0]);
+ self.global.draw(
+ ui,
800
+ config,
801
+ if game_override_enabled {
802
+ "NOTE: Overridden for the current game"
803
+ } else {
804
+ ""
805
+ },
806
+ ui.content_region_avail()[0],
807
+ );
808
} else {
809
let button_width = ui.calc_text_size("\u{f055}")[0]
810
.max(ui.calc_text_size("\u{f056}")[0])
0 commit comments