Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【bug】视图控制器的zoom方法,交替执行出现问题 #354

Open
bgyh2003 opened this issue Feb 14, 2025 · 1 comment
Open

【bug】视图控制器的zoom方法,交替执行出现问题 #354

bgyh2003 opened this issue Feb 14, 2025 · 1 comment

Comments

@bgyh2003
Copy link

this.app.tree.zoom('fit',100) // 第一次执行 正常居中自适应
 
setTimeout(() => {
    this.app.tree.zoom('fit',100) // 第二次fit不正常,放大了好多
}, 1000)


setTimeout(() => {
    this.app.tree.zoom('fit',100) // 第三次执行 正常居中自适应
}, 2000)

好像是有规律的,多次执行,正常跟错误交替出现

@leaferjs
Copy link
Owner

收到,谢谢反馈~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants