From b3e243d5164638d306f8d851b11415a0eff32146 Mon Sep 17 00:00:00 2001 From: ezreal <71426102+Ezreal-byte@users.noreply.github.com> Date: Fri, 25 Sep 2026 09:34:34 +0800 Subject: [PATCH] fix(plugins): mirror right-docked shortcut drag preview --- apps/desktop/src/components/plugins/PluginShortcutBar.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/desktop/src/components/plugins/PluginShortcutBar.vue b/apps/desktop/src/components/plugins/PluginShortcutBar.vue index a4f24ca759..7f84625807 100644 --- a/apps/desktop/src/components/plugins/PluginShortcutBar.vue +++ b/apps/desktop/src/components/plugins/PluginShortcutBar.vue @@ -22,6 +22,7 @@ const section = ref(null); const scroll = ref(null); const sidebarList = computed(() => props.position === "sidebar-bottom"); const left = computed(() => props.position.startsWith("left-")); +const right = computed(() => props.position.startsWith("right-")); const bottom = computed(() => !sidebarList.value && props.position.endsWith("-bottom")); const ids = computed(() => entries.value.map((entry) => entry.id)); function saveError(error: unknown) { @@ -129,8 +130,8 @@ function activate(entry: PluginShortcutEntry) {