From 802f1c71dbdc91572e3fb7270b64acef51ecbfe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Z=C3=BCrcher?= Date: Mon, 12 May 2025 17:17:16 +0200 Subject: [PATCH] modify component moving head --- src/components/MovingHead.vue | 61 +++++++++++++++++++++++----- src/components/SettingMovingHead.vue | 50 +++++++++++++++++++++++ src/components/SubMenu.vue | 1 + 3 files changed, 101 insertions(+), 11 deletions(-) create mode 100644 src/components/SettingMovingHead.vue diff --git a/src/components/MovingHead.vue b/src/components/MovingHead.vue index d4693d5..294afea 100644 --- a/src/components/MovingHead.vue +++ b/src/components/MovingHead.vue @@ -97,10 +97,21 @@ select color="black" style="opacity: 1" /> -
- - {{ pan }} {{ tilt }} + +
+
+ Settings +
@@ -108,10 +119,12 @@ select diff --git a/src/components/SubMenu.vue b/src/components/SubMenu.vue index 7e03dbd..0ec04fb 100644 --- a/src/components/SubMenu.vue +++ b/src/components/SubMenu.vue @@ -17,6 +17,7 @@ import { send } from 'src/services/websocket'; function handleAction(action: string) { console.log(`Action '${action}' on node:`, contextMenu.value.node); + // Add your actual logic here switch (action) { case 'Add':