mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Show scrollbar when scrolling while following
This commit is contained in:
parent
7ba95d5d6c
commit
d5fbb59656
1 changed files with 1 additions and 0 deletions
|
@ -1353,6 +1353,7 @@ impl Editor {
|
||||||
) {
|
) {
|
||||||
self.scroll_top_anchor = anchor;
|
self.scroll_top_anchor = anchor;
|
||||||
self.scroll_position = position;
|
self.scroll_position = position;
|
||||||
|
self.make_scrollbar_visible(cx);
|
||||||
cx.emit(Event::ScrollPositionChanged { local: false });
|
cx.emit(Event::ScrollPositionChanged { local: false });
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue