Skip to content

Commit

Permalink
Fix z-index in any case
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton committed Feb 21, 2024
1 parent b986d02 commit 03a086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iotMapManager/src/iot-map-marker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class IotMapMarker extends IotMapDisplay {
public select (selected: boolean): void {
this.selected = selected
this.setIcon(getMarkerIcon(this.data, this.config, selected))
this.setZIndexOffset((selected) ? 100 : 0)
this.setZIndexOffset((selected) ? 1000000 : 0)
}

public getData (): IotMarker {
Expand Down

0 comments on commit 03a086f

Please sign in to comment.