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,
|
Info,
|
||||||
Comment,
|
Comment,
|
||||||
User,
|
User,
|
||||||
|
Switch,
|
||||||
} from '@icon-park/vue-next'
|
} from '@icon-park/vue-next'
|
||||||
|
|
||||||
export interface Icons {
|
export interface Icons {
|
||||||
@ -249,6 +250,7 @@ export const icons: Icons = {
|
|||||||
IconInfo: Info,
|
IconInfo: Info,
|
||||||
IconComment: Comment,
|
IconComment: Comment,
|
||||||
IconUser: User,
|
IconUser: User,
|
||||||
|
IconSwitch: Switch,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
@ -60,6 +60,12 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<Divider />
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<Button style="flex: 1;" @click="updateLine({ start: handleLineElement.end, end: handleLineElement.start })"><IconSwitch /> 交换方向</Button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<ElementShadow />
|
<ElementShadow />
|
||||||
</div>
|
</div>
|
||||||
@ -73,6 +79,7 @@ import type { PPTLineElement } from '@/types/slides'
|
|||||||
import useHistorySnapshot from '@/hooks/useHistorySnapshot'
|
import useHistorySnapshot from '@/hooks/useHistorySnapshot'
|
||||||
|
|
||||||
import ElementShadow from '../common/ElementShadow.vue'
|
import ElementShadow from '../common/ElementShadow.vue'
|
||||||
|
import Button from '@/components/Button.vue'
|
||||||
import ColorButton from '../common/ColorButton.vue'
|
import ColorButton from '../common/ColorButton.vue'
|
||||||
import ColorPicker from '@/components/ColorPicker/index.vue'
|
import ColorPicker from '@/components/ColorPicker/index.vue'
|
||||||
import Divider from '@/components/Divider.vue'
|
import Divider from '@/components/Divider.vue'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user