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 {
103103 }
104104
105105 render ( ) {
106- const fill = ! ! this . state . value ? "#d3b12c " : "none " ;
106+ const fill = ! ! this . state . value ? "#00c800 " : "#000000 " ;
107107 this . element . querySelectorAll ( "circle" ) . forEach ( ( c ) => {
108108 c . style . fill = fill ;
109109 } ) ;
Original file line number Diff line number Diff line change @@ -106,9 +106,11 @@ export class Pin {
106106
107107 render ( ) {
108108 if ( this . ui ) {
109- const fill = ! ! this . state . value ? "red " : "url(#an)" ;
109+ const fill = ! ! this . state . value ? "#00c800 " : "url(#an)" ;
110110 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+ }
112114 } ) ;
113115 }
114116 }
You can’t perform that action at this time.
0 commit comments