mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 文字面板UI优化
This commit is contained in:
parent
10229ec8bc
commit
14300e49bb
@ -68,8 +68,6 @@ import {
|
|||||||
LeftTwo,
|
LeftTwo,
|
||||||
RightTwo,
|
RightTwo,
|
||||||
Platte,
|
Platte,
|
||||||
UpOne,
|
|
||||||
DownOne,
|
|
||||||
Close,
|
Close,
|
||||||
CloseSmall,
|
CloseSmall,
|
||||||
Undo,
|
Undo,
|
||||||
@ -179,8 +177,6 @@ export const icons = {
|
|||||||
IconLeftTwo: LeftTwo,
|
IconLeftTwo: LeftTwo,
|
||||||
IconRightTwo: RightTwo,
|
IconRightTwo: RightTwo,
|
||||||
IconPlatte: Platte,
|
IconPlatte: Platte,
|
||||||
IconUpOne: UpOne,
|
|
||||||
IconDownOne: DownOne,
|
|
||||||
IconClose: Close,
|
IconClose: Close,
|
||||||
IconCloseSmall: CloseSmall,
|
IconCloseSmall: CloseSmall,
|
||||||
IconUndo: Undo,
|
IconUndo: Undo,
|
||||||
|
@ -122,14 +122,14 @@
|
|||||||
style="flex: 1;"
|
style="flex: 1;"
|
||||||
:checked="richTextAttrs.superscript"
|
:checked="richTextAttrs.superscript"
|
||||||
@click="emitRichTextCommand('superscript')"
|
@click="emitRichTextCommand('superscript')"
|
||||||
><IconUpOne /></CheckboxButton>
|
>A²</CheckboxButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip :mouseLeaveDelay="0" :mouseEnterDelay="0.5" title="下标">
|
<Tooltip :mouseLeaveDelay="0" :mouseEnterDelay="0.5" title="下标">
|
||||||
<CheckboxButton
|
<CheckboxButton
|
||||||
style="flex: 1;"
|
style="flex: 1;"
|
||||||
:checked="richTextAttrs.subscript"
|
:checked="richTextAttrs.subscript"
|
||||||
@click="emitRichTextCommand('subscript')"
|
@click="emitRichTextCommand('subscript')"
|
||||||
><IconDownOne /></CheckboxButton>
|
>A₂</CheckboxButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Tooltip :mouseLeaveDelay="0" :mouseEnterDelay="0.5" title="行内代码">
|
<Tooltip :mouseLeaveDelay="0" :mouseEnterDelay="0.5" title="行内代码">
|
||||||
<CheckboxButton
|
<CheckboxButton
|
||||||
|
Loading…
x
Reference in New Issue
Block a user