Skip to content
Snippets Groups Projects
Commit 53813a30 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

chore: disable toggling visibility of base layers

parent 099b3793
No related branches found
No related tags found
No related merge requests found
......@@ -7,10 +7,10 @@
<i
container = "body"
placement = "bottom"
tooltip = "toggle visibility"
(click) = "toggleVisibility(ngLayer)"
[tooltip] = "checkLocked(ngLayer) ? 'base layer cannot be hidden' : 'toggle visibility'"
(click) = "checkLocked(ngLayer) ? null : toggleVisibility(ngLayer)"
class = "glyphicon"
[ngClass] = "ngLayer.visible ? 'glyphicon-eye-open' : 'glyphicon-eye-close'">
[ngClass] = "checkLocked(ngLayer) ? 'glyphicon-lock muted' :ngLayer.visible ? 'glyphicon-eye-open' : 'glyphicon-eye-close'">
</i>
</div>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment