Skip to content

Commit

Permalink
Allow Editing Opacity
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Mar 11, 2024
1 parent 41db5f9 commit 08067ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/web/src/components/CloudTAK/Menu/Overlays.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}
}
Expand Down

0 comments on commit 08067ee

Please sign in to comment.