File tree Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Expand file tree Collapse file tree 3 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export class Button {
103
103
}
104
104
105
105
render ( ) {
106
- const fill = ! ! this . state . value ? "#d3b12c " : "none " ;
106
+ const fill = ! ! this . state . value ? "#00c800 " : "#000000 " ;
107
107
this . element . querySelectorAll ( "circle" ) . forEach ( ( c ) => {
108
108
c . style . fill = fill ;
109
109
} ) ;
Original file line number Diff line number Diff line change @@ -106,9 +106,11 @@ export class Pin {
106
106
107
107
render ( ) {
108
108
if ( this . ui ) {
109
- const fill = ! ! this . state . value ? "red " : "url(#an)" ;
109
+ const fill = ! ! this . state . value ? "#00c800 " : "url(#an)" ;
110
110
this . ui . element . querySelectorAll ( "path" ) . forEach ( ( p ) => {
111
- p . style . fill = fill ;
111
+ if ( ! p . classList . contains ( "no-edit" ) ) {
112
+ p . style . fill = fill ;
113
+ }
112
114
} ) ;
113
115
}
114
116
}
You can’t perform that action at this time.
0 commit comments