Merge pull request #24 from lhyUnited/master

fix: 增加rotate默认值
This commit is contained in:
LLzzZZ 2021-04-26 19:37:33 +08:00 committed by GitHub
commit 2279547c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -63,6 +63,7 @@ export default () => {
left: (VIEWPORT_SIZE - width) / 2,
top: (VIEWPORT_SIZE * viewportRatio.value - height) / 2,
fixedRatio: true,
rotate: 0
})
})
}
@ -147,6 +148,7 @@ export default () => {
width,
height,
content,
rotate: 0
})
}
@ -168,6 +170,7 @@ export default () => {
path: data.path,
fill: themeColor.value,
fixedRatio: false,
rotate: 0
})
}

View File

@ -16,6 +16,7 @@ export const slides: Slide[] = [
fill: '#d14424',
fixedRatio: false,
opacity: 0.7,
rotate: 0
},
{
type: 'shape',
@ -32,6 +33,7 @@ export const slides: Slide[] = [
x: 180,
y: 0,
},
rotate: 0
},
{
type: 'text',
@ -41,6 +43,7 @@ export const slides: Slide[] = [
width: 585,
height: 188,
content: '<p style=\'\'><strong><span style=\'font-size: 112px\'>PPTIST</span></strong></p>',
rotate: 0
},
{
type: 'text',
@ -50,6 +53,7 @@ export const slides: Slide[] = [
width: 585,
height: 56,
content: '<p style=\'\'><span style=\'font-size: 24px\'>基于 Vue 3.x + TypeScript 的在线演示文稿应用</span></p>',
rotate: 0
},
{
type: 'line',