This commit is contained in:
Mikayla Maki 2023-05-22 11:04:36 -07:00
parent 8669dcdc81
commit 6264b24788
No known key found for this signature in database

View file

@ -527,8 +527,7 @@ pub struct EditorSnapshot {
impl EditorSnapshot { impl EditorSnapshot {
fn has_scrollbar_info(&self, is_singleton: bool) -> bool { fn has_scrollbar_info(&self, is_singleton: bool) -> bool {
is_singleton && self.buffer_snapshot is_singleton && self.buffer_snapshot.has_git_diffs()
.has_git_diffs()
} }
} }