mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 创建元素配置优化
This commit is contained in:
parent
52b50736b7
commit
c0c43b3b92
@ -117,7 +117,7 @@ export default defineComponent({
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
const defaultSize = 100
|
const defaultSize = 200
|
||||||
const minX = Math.min(endPageX, startPageX)
|
const minX = Math.min(endPageX, startPageX)
|
||||||
const minY = Math.min(endPageY, startPageY)
|
const minY = Math.min(endPageY, startPageY)
|
||||||
const maxX = Math.max(endPageX, startPageX)
|
const maxX = Math.max(endPageX, startPageX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user