File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,8 @@ export component HeaderView {
85
85
horizontal-stretch : 0 ;
86
86
checkable : true ;
87
87
icon : Icons.library;
88
- colorize-icon : true ;
88
+ colorize-icon : !self .checked;
89
+ primary : self .checked;
89
90
clicked => {
90
91
root .library-toggled (self .checked);
91
92
library-widget = self .checked;
@@ -96,7 +97,8 @@ export component HeaderView {
96
97
horizontal-stretch : 0 ;
97
98
checkable : true ;
98
99
icon : Icons.properties;
99
- colorize-icon : true ;
100
+ colorize-icon : !self .checked;
101
+ primary : self .checked;
100
102
clicked => {
101
103
root .properties-toggled (self .checked);
102
104
properties-widget = self .checked;
@@ -107,7 +109,8 @@ export component HeaderView {
107
109
horizontal-stretch : 0 ;
108
110
checkable : true ;
109
111
icon : Icons.outline;
110
- colorize-icon : true ;
112
+ colorize-icon : !self .checked;
113
+ primary : self .checked;
111
114
clicked => {
112
115
root .outline-toggled (self .checked);
113
116
outline-widget = self .checked;
@@ -118,7 +121,8 @@ export component HeaderView {
118
121
horizontal-stretch : 0 ;
119
122
checkable : true ;
120
123
icon : Icons.simulator;
121
- colorize-icon : true ;
124
+ colorize-icon : !self .checked;
125
+ primary : self .checked;
122
126
clicked => {
123
127
root .simulator-toggled (self .checked);
124
128
data-widget = self .checked;
You can’t perform that action at this time.
0 commit comments