mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
Cache app grid items to smooth out jank during scrolling and resizing
This commit is contained in:
@@ -18,6 +18,10 @@ GridView {
|
|||||||
cellWidth: 225; cellHeight: 350;
|
cellWidth: 225; cellHeight: 350;
|
||||||
focus: true
|
focus: true
|
||||||
|
|
||||||
|
// Cache delegates for 1000px in both directions to improve
|
||||||
|
// scrolling and resizing performance
|
||||||
|
cacheBuffer: 1000
|
||||||
|
|
||||||
// The StackView will trigger a visibility change when
|
// The StackView will trigger a visibility change when
|
||||||
// we're pushed onto it, causing our onVisibleChanged
|
// we're pushed onto it, causing our onVisibleChanged
|
||||||
// routine to run, but only if we start as invisible
|
// routine to run, but only if we start as invisible
|
||||||
|
|||||||
Reference in New Issue
Block a user