remove logs
This commit is contained in:
@@ -46,14 +46,12 @@ export const ZoneSystem = () => {
|
|||||||
const prevLabel = document.getElementById(`${lastHighlightedZoneRef.current}-label`)
|
const prevLabel = document.getElementById(`${lastHighlightedZoneRef.current}-label`)
|
||||||
const pin = prevLabel?.querySelector('.label-pin') as HTMLElement | null
|
const pin = prevLabel?.querySelector('.label-pin') as HTMLElement | null
|
||||||
if (pin) pin.style.opacity = '0'
|
if (pin) pin.style.opacity = '0'
|
||||||
console.log('setting opacity to 0 for', lastHighlightedZoneRef.current)
|
|
||||||
}
|
}
|
||||||
// Fade in new zone label-pin
|
// Fade in new zone label-pin
|
||||||
if (highlightedZone) {
|
if (highlightedZone) {
|
||||||
const label = document.getElementById(`${highlightedZone}-label`)
|
const label = document.getElementById(`${highlightedZone}-label`)
|
||||||
const pin = label?.querySelector('.label-pin') as HTMLElement | null
|
const pin = label?.querySelector('.label-pin') as HTMLElement | null
|
||||||
if (pin) pin.style.opacity = '1'
|
if (pin) pin.style.opacity = '1'
|
||||||
console.log('setting opacity to 1 for', highlightedZone)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
lastHighlightedZoneRef.current = highlightedZone
|
lastHighlightedZoneRef.current = highlightedZone
|
||||||
|
|||||||
Reference in New Issue
Block a user