File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3873,13 +3873,11 @@ def _scroll_update(self, virtual_size: Size) -> None:
3873
3873
self .vertical_scrollbar .window_size = (
3874
3874
height - self .scrollbar_size_horizontal
3875
3875
)
3876
- if self .vertical_scrollbar ._repaint_required :
3877
- self .vertical_scrollbar .refresh ()
3876
+ self .vertical_scrollbar .refresh ()
3878
3877
if self .show_horizontal_scrollbar :
3879
3878
self .horizontal_scrollbar .window_virtual_size = virtual_size .width
3880
3879
self .horizontal_scrollbar .window_size = width - self .scrollbar_size_vertical
3881
- if self .horizontal_scrollbar ._repaint_required :
3882
- self .horizontal_scrollbar .refresh ()
3880
+ self .horizontal_scrollbar .refresh ()
3883
3881
3884
3882
self .scroll_x = self .validate_scroll_x (self .scroll_x )
3885
3883
self .scroll_y = self .validate_scroll_y (self .scroll_y )
You can’t perform that action at this time.
0 commit comments