防止鼠标穿透

This commit is contained in:
tianmo committed 2026-09-05 18:52:45 +08:00
1 parent 79ce3165c1
commit 0a0ab592a4
7 files changed
+77 -44

No files matched your search

+7 -1
View File
@@ -1,5 +1,10 @@
<template>
<div class="layout" :class="{ 'panel-right': store.settings.parameterPanelOnRight }">
<div
class="layout"
:class="{ 'panel-right': store.settings.parameterPanelOnRight }"
:inert="transferProgress.visible ? true : undefined"
:aria-hidden="transferProgress.visible ? 'true' : undefined"
>
<!-- 参数面板:可在系统设置中切换左右位置,宽度可拖。 -->
<div class="parameter-panel" :style="{ width: panelW + 'px' }">
<ParticlePanel />
@@ -26,6 +31,7 @@ import Stage from './views/Stage.vue'
import ParticlePanel from './views/ParticlePanel.vue'
import Timeline from './views/Timeline.vue'
import TransferProgressOverlay from './views/TransferProgressOverlay.vue'
import { transferProgress } from './editor/transferProgress'
const store = useParticleStore()
installSystemSettingsCache(store)