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

Edit莫名卡顿 #61

Closed
Moying-moe opened this issue Sep 21, 2022 · 0 comments
Closed

Edit莫名卡顿 #61

Moying-moe opened this issue Sep 21, 2022 · 0 comments
Labels
bug Something isn't working invalid This doesn't seem right question Further information is requested

Comments

@Moying-moe
Copy link
Collaborator

问题出现的位置

MajdataEdit

问题描述

Edit写谱子的时候会很卡

它是怎么出现的

Edit在写谱子的时候就会变得非常卡。谱面Note越多,卡顿就越明显。

这个问题在Visual Studio中调试时,会变得更加糟糕。输出栏会不停的报错,从而让卡顿更加明显。

在之前的更新中,我尝试用谱面刷新延迟功能来减缓这个问题,不过这并非是最好的解决方案。

它可以复现吗

可以

可能有帮助的截图与文件

报错log内容:

引发的异常:“System.InvalidOperationException”(位于 PresentationCore.dll 中)

开发者备忘录

经过初步定位,我十分怀疑这是由绘制时间轴的模块产生的。

同时,这样的报错内容和Note数量也有关。谱面中每有一个Note,它就会出现3条报错信息。因此,我认为这是一个和Note绘制有关的BUG

@Moying-moe Moying-moe added bug Something isn't working invalid This doesn't seem right question Further information is requested labels Sep 21, 2022
Moying-moe added a commit to LingFeng-bbben/MajdataEdit that referenced this issue Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant