Synchronize custom-scrollbar cursor geometry after relayout

This commit is contained in:
fufesou
2026-09-13 14:53:47 +08:00
parent b630f14483
commit 16088cfc80
3 changed files with 18 additions and 14 deletions

View File

@@ -2702,7 +2702,7 @@ class CanvasModel with ChangeNotifier {
notifyListeners();
}
void updateEdgeScrollAfterLayout((double, double) renderedScroll) {
void updateScrollAfterLayout((double, double) renderedScroll) {
updateScrollPercent();
// A delayed refresh may already have changed the model without repainting.
if (renderedScroll != (_scrollX, _scrollY)) {