Browse Source

Change region list opacity according to visibility

pull/1899/head
Hironsan 2 years ago
parent
commit
0e65473819
1 changed files with 1 additions and 0 deletions
  1. 1
      frontend/components/tasks/image/RegionList.vue

1
frontend/components/tasks/image/RegionList.vue

@ -6,6 +6,7 @@
v-for="(item, i) in regions"
:key="`item-${i}`"
:value="item"
:style="{ opacity: item.visibility ? 1 : 0.5 }"
active-class="text--accent-4"
@mouseenter="$emit('hover-region', item.id)"
@mouseleave="$emit('unhover-region', item.id)"

Loading…
Cancel
Save