mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-18 07:48:02 +08:00
Refactor type handling for response handler to fix dangerous casting (#126)
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<LayoutCol :class="'list'">
|
||||
<div class="layer-row" v-for="layer in layers" :key="layer.path">
|
||||
<div class="layer-visibility">
|
||||
<IconButton @click="toggleLayerVisibility(layer)" :size="24" :title="layer.visible ? 'Visible' : 'Hidden'">
|
||||
<IconButton @click="toggleLayerVisibility(layer.path)" :size="24" :title="layer.visible ? 'Visible' : 'Hidden'">
|
||||
<EyeVisible v-if="layer.visible" />
|
||||
<EyeHidden v-if="!layer.visible" />
|
||||
</IconButton>
|
||||
|
||||
Reference in New Issue
Block a user