Fix the autoscroll_on_clicks
setting working incorrectly (#21362)
This commit is contained in:
parent
57a45d80ad
commit
c1de606581
1 changed files with 1 additions and 1 deletions
|
@ -2967,7 +2967,7 @@ impl Editor {
|
|||
auto_scroll = false;
|
||||
}
|
||||
}
|
||||
auto_scroll &= !EditorSettings::get_global(cx).autoscroll_on_clicks;
|
||||
auto_scroll &= EditorSettings::get_global(cx).autoscroll_on_clicks;
|
||||
|
||||
let point_to_delete: Option<usize> = {
|
||||
let selected_points: Vec<Selection<Point>> =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue