From 08067ee00572d7745337838abe0e66a970ef29cd Mon Sep 17 00:00:00 2001 From: ingalls Date: Mon, 11 Mar 2024 09:05:23 -0600 Subject: [PATCH] Allow Editing Opacity --- api/web/src/components/CloudTAK/Menu/Overlays.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/web/src/components/CloudTAK/Menu/Overlays.vue b/api/web/src/components/CloudTAK/Menu/Overlays.vue index 8ab2e75e6..9bf952f99 100644 --- a/api/web/src/components/CloudTAK/Menu/Overlays.vue +++ b/api/web/src/components/CloudTAK/Menu/Overlays.vue @@ -154,8 +154,8 @@ export default { handler: function() { if (!this.isEditing || !this.isEditing.single) return; - if (this.isEditing.single['fill-opacity']) { - mapStore.map.setPaintProperty('fill-opacity', this.isEditing.single['fill-opacity']); + if (this.isEditing.single.paint['fill-opacity']) { + mapStore.map.setPaintProperty(this.isEditing.single.id, 'fill-opacity', this.isEditing.single.paint['fill-opacity']); } } }