@ohuoy/easymap 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -133,13 +133,12 @@ export default class ThreeScanLayer{
|
|
|
133
133
|
if(!this.map.theme){
|
|
134
134
|
this.map.theme = this.map.theme ? this.map.theme :this.map.style.stylesheet.theme
|
|
135
135
|
}
|
|
136
|
-
// console.log('theme:'+this.map.theme.value)
|
|
137
136
|
let color = this.map.theme.value == "dark"?"#fff" : "#000"
|
|
138
|
-
|
|
139
|
-
await sleep(200)
|
|
140
|
-
}
|
|
137
|
+
await sleep(200)
|
|
141
138
|
for(let el of elList){
|
|
142
|
-
el.style.color
|
|
139
|
+
if(el.style.color != color){
|
|
140
|
+
el.style.color = color
|
|
141
|
+
}
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
|