mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
feat: 线条交换方向
This commit is contained in:
parent
331a20b9bd
commit
ef78bec3d9
@ -122,6 +122,7 @@ import {
|
||||
Info,
|
||||
Comment,
|
||||
User,
|
||||
Switch,
|
||||
} from '@icon-park/vue-next'
|
||||
|
||||
export interface Icons {
|
||||
@ -249,6 +250,7 @@ export const icons: Icons = {
|
||||
IconInfo: Info,
|
||||
IconComment: Comment,
|
||||
IconUser: User,
|
||||
IconSwitch: Switch,
|
||||
}
|
||||
|
||||
export default {
|
||||
|
@ -60,6 +60,12 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Divider />
|
||||
|
||||
<div class="row">
|
||||
<Button style="flex: 1;" @click="updateLine({ start: handleLineElement.end, end: handleLineElement.start })"><IconSwitch /> 交换方向</Button>
|
||||
</div>
|
||||
|
||||
<Divider />
|
||||
<ElementShadow />
|
||||
</div>
|
||||
@ -73,6 +79,7 @@ import type { PPTLineElement } from '@/types/slides'
|
||||
import useHistorySnapshot from '@/hooks/useHistorySnapshot'
|
||||
|
||||
import ElementShadow from '../common/ElementShadow.vue'
|
||||
import Button from '@/components/Button.vue'
|
||||
import ColorButton from '../common/ColorButton.vue'
|
||||
import ColorPicker from '@/components/ColorPicker/index.vue'
|
||||
import Divider from '@/components/Divider.vue'
|
||||
|
Loading…
x
Reference in New Issue
Block a user