parent
07dbee8651
commit
f60774bbdd
8 changed files with 67 additions and 24 deletions
|
@ -182,7 +182,7 @@ impl ScrollManager {
|
|||
map: &DisplaySnapshot,
|
||||
local: bool,
|
||||
autoscroll: bool,
|
||||
workspace_id: Option<i64>,
|
||||
workspace_id: Option<WorkspaceId>,
|
||||
cx: &mut ViewContext<Editor>,
|
||||
) {
|
||||
let (new_anchor, top_row) = if scroll_position.y <= 0. {
|
||||
|
@ -221,7 +221,7 @@ impl ScrollManager {
|
|||
top_row: u32,
|
||||
local: bool,
|
||||
autoscroll: bool,
|
||||
workspace_id: Option<i64>,
|
||||
workspace_id: Option<WorkspaceId>,
|
||||
cx: &mut ViewContext<Editor>,
|
||||
) {
|
||||
self.anchor = anchor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue