refactor(chart): introduce hybrid domain architecture

This commit is contained in:
李启源
2026-08-07 15:59:26 +08:00
parent 9eb1f0f137
commit e2725e5569
11 changed files with 492 additions and 109 deletions

View File

@@ -110,7 +110,7 @@ const {
{
'waveform-chart--clean': isCleanView,
'waveform-chart--presentation': isPresentationMode,
'waveform-chart--panning': selection?.mode === 'pan',
'waveform-chart--panning': selection?.kind === 'pan',
},
]"
:style="containerStyle"
@@ -247,7 +247,7 @@ const {
/>
<rect
v-if="selectionBox && selection?.mode === 'box'"
v-if="selectionBox && selection?.kind === 'box'"
class="waveform-chart__zoom-selection"
:x="selectionBox.x"
:y="selectionBox.y"