fix: add mouseup

This commit is contained in:
Starry 2024-03-29 00:51:05 +08:00
parent 2736db92e0
commit a82d9f0570

View File

@ -29,7 +29,7 @@ limitations under the License. -->
</div>
<div class="trace flex-h">
<TraceList class="trace-list" :style="`width: ${currentWidth}px;`" />
<div @mouseover="showIcon = true" @mouseout="showIcon = false">
<div @mouseover="showIcon = true" @mouseout="showIcon = false" @mouseup="showIcon = false">
<div class="trace-line" />
<span class="trace-icon" v-show="showIcon" @click="triggerArrow">
<Icon class="trace-arrow" :icon-name="isLeft ? 'chevron-left' : 'chevron-right'" size="lg" />