-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
🐞 Sidebar animation is not smooth #1041
Comments
@thecoolwinter I suspect this has to do with this CodeEditTextView issue. What do you think? |
Most likely, it's a known issue with the ruler view being very inefficient for resizes as it redraws every line number every update. |
Would this be solved when we implement our own ruler view then via https://github.com/CodeEditApp/CodeEditTextView/issues/127? |
It should be, also related is CodeEdit/CodeEditTextView#131 . |
Actually, it looks like Marcin did a bunch of work on STTextView recently, this might be fixed with CodeEditApp/CodeEditTextView#138. |
Yep! Fixed in the previously mentioned PR. |
Description
The animation for hiding and showing the sidebars is not smooth. It applies to both the left and the right sidebar (inspector). It seems to be related to the size of the currently opened document. If no document is open, it's smooth. If a large document is opened the animation is not smooth. The larger document, the less smooth the animation is. It's enough with a document of 240 lines to notice a difference. If the document is over 1000 lines it's clearly visible. See attached video which shows the problem when a document with slight more than 1000 lines is open:
codeedit_sidebar.mov
To Reproduce
Expected behavior
I expect the animation to be as smooth as in Xcode. See attached video for how it looks like in Xcode:
xcode_sidebar.mov
Version information
CodeEdit: 0.0.1-alpha (25)
macOS: 13.0.1 (22A400)
Additional context
No response
The text was updated successfully, but these errors were encountered: