From d0beca5d2c7c56308ac37e2711db9ac7bb28d918 Mon Sep 17 00:00:00 2001 From: newcat Date: Mon, 25 Mar 2024 22:56:58 +0100 Subject: [PATCH] Added white channel for SpotVisualization --- .../fixtureVisualizations/DmxChannelSelector.vue | 2 +- .../spot/SpotVisualizationSettings.vue | 3 +++ .../fixtureVisualizations/spot/spot.renderer.ts | 9 ++++++--- .../fixtureVisualizations/spot/spot.visualization.ts | 2 +- .../visualization/fixtureVisualizations/spot/types.ts | 2 +- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/stage/visualization/fixtureVisualizations/DmxChannelSelector.vue b/src/stage/visualization/fixtureVisualizations/DmxChannelSelector.vue index 2323aef..a3a767f 100644 --- a/src/stage/visualization/fixtureVisualizations/DmxChannelSelector.vue +++ b/src/stage/visualization/fixtureVisualizations/DmxChannelSelector.vue @@ -15,7 +15,7 @@ const props = defineProps<{ }>(); const options = computed(() => { - const options: { label: string; value: number }[] = []; + const options: { label: string; value: number }[] = [{ label: "None", value: -1 }]; for (let i = 0; i < props.fixture.channelNames.length; i++) { options.push({ label: props.fixture.channelNames[i], diff --git a/src/stage/visualization/fixtureVisualizations/spot/SpotVisualizationSettings.vue b/src/stage/visualization/fixtureVisualizations/spot/SpotVisualizationSettings.vue index fa09026..ac495b0 100644 --- a/src/stage/visualization/fixtureVisualizations/spot/SpotVisualizationSettings.vue +++ b/src/stage/visualization/fixtureVisualizations/spot/SpotVisualizationSettings.vue @@ -31,6 +31,9 @@ + + +