mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 19:41:40 +08:00
refactor(editor): 调整zoomIn zommOut顺序
This commit is contained in:
parent
28d3ea0959
commit
17e8bbb7b4
@ -12,12 +12,12 @@
|
||||
|
||||
<template v-else-if="item.type === 'zoom'">
|
||||
<tool-button
|
||||
:data="{ type: 'button', icon: ZoomIn, handler: zoomInHandler, tooltip: '放大' }"
|
||||
:data="{ type: 'button', icon: ZoomOut, handler: zoomOutHandler, tooltip: '缩小' }"
|
||||
:event-type="eventType"
|
||||
></tool-button>
|
||||
<span class="menu-item-text" style="margin: 0 5px">{{ parseInt(`${zoom * 100}`, 10) }}%</span>
|
||||
<tool-button
|
||||
:data="{ type: 'button', icon: ZoomOut, handler: zoomOutHandler, tooltip: '缩小' }"
|
||||
:data="{ type: 'button', icon: ZoomIn, handler: zoomInHandler, tooltip: '放大' }"
|
||||
:event-type="eventType"
|
||||
></tool-button>
|
||||
</template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user