Show scrollbar when scrolling while following

This commit is contained in:
Max Brunsfeld 2022-10-27 12:42:34 -07:00
parent 7ba95d5d6c
commit d5fbb59656

View file

@ -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();
} }