File tree 1 file changed +2
-3
lines changed
package/contents/ui/components
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ ColumnLayout {
21
21
property var config: handleString ? JSON .parse (configString) : undefined
22
22
property var configLocal: keyName ? config[keyName] : config
23
23
signal updateConfigString (configString: string, config: var )
24
- // whether the current item supports foreground customization, e.g the panel does not
25
- property bool supportsForeground: true
26
24
27
25
property alias isEnabled: isEnabled .checked
28
26
@@ -231,7 +229,8 @@ ColumnLayout {
231
229
232
230
FormColors {
233
231
enabled: backgroundRoot .isEnabled
234
- visible: currentTab === 0 && supportsForeground
232
+ // the panel does not support foreground customization
233
+ visible: currentTab === 0 && keyName !== " panel"
235
234
config: backgroundRoot .configLocal .foregroundColor
236
235
isSection: true
237
236
onUpdateConfigString : (newString , newConfig ) => {
You can’t perform that action at this time.
0 commit comments