Allow making settings visible from the sidebar

This commit is contained in:
fieldOfView 2016-11-15 11:09:58 +01:00
parent b63f4e0bee
commit 7fafcef40b
2 changed files with 37 additions and 5 deletions

View file

@ -117,6 +117,7 @@ Item {
elide: Text.ElideMiddle;
color: UM.Theme.getColor("setting_control_text");
opacity: (definition.visible) ? 1 : 0.5
// emphasize the setting if it has a value in the user or quality profile
font: base.doQualityUserSettingEmphasis && base.stackLevel != undefined && base.stackLevel <= 1 ? UM.Theme.getFont("default_italic") : UM.Theme.getFont("default")
}