Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfeng1420/avalonia-lyricview
a Avalonia-based view of displaying lyrics.
https://github.com/lfeng1420/avalonia-lyricview
avalonia csharp desktop
Last synced: 10 days ago
JSON representation
a Avalonia-based view of displaying lyrics.
- Host: GitHub
- URL: https://github.com/lfeng1420/avalonia-lyricview
- Owner: lfeng1420
- License: mit
- Created: 2024-06-04T02:51:51.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-09T05:12:32.000Z (5 months ago)
- Last Synced: 2024-10-11T19:40:49.826Z (about 1 month ago)
- Topics: avalonia, csharp, desktop
- Language: C#
- Homepage:
- Size: 39.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 效果
https://github.com/lfeng1420/Avalonia-LyricView/assets/7549203/9ea0a788-8307-4818-86be-9232def9aff7## 存在的问题
* 目前`ItemsControl`没有使用虚拟化Panel,如果启用,有概率出现滚动时出现item重影的情况(一般在各行歌词高度差异较大时),见[issue-15194](https://github.com/AvaloniaUI/Avalonia/issues/15194)
* `ScrollViewer`滚动已达边界(例如最上方)时无法再继续滚动,因为`Offset`的X/Y最小值已被限制为0,见[ScrollViewer.cs#L694](https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Controls/ScrollViewer.cs#L694),临时解决办法是自行在头部和末尾添加一些空数据