diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-17 19:01:02 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-17 19:45:57 +1100 |
commit | d672b7342f12c64112cd6b59fb5e4286a7cb92b4 (patch) | |
tree | 4b4c51680b05217708ce7ca596b6a47ffc170838 /pkg/gui/files_panel.go | |
parent | e7c27b6f4aef44a2391dd207e1321008b5d1dcff (diff) |
stop resetting scroll all the time
Diffstat (limited to 'pkg/gui/files_panel.go')
-rw-r--r-- | pkg/gui/files_panel.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkg/gui/files_panel.go b/pkg/gui/files_panel.go index 05b966e5d..708eae1f5 100644 --- a/pkg/gui/files_panel.go +++ b/pkg/gui/files_panel.go @@ -57,13 +57,6 @@ func (gui *Gui) selectFile(alreadySelected bool) error { } if !alreadySelected { - // TODO: pull into update task interface - if err := gui.resetOrigin(gui.Views.Main); err != nil { - return err - } - if err := gui.resetOrigin(gui.Views.Secondary); err != nil { - return err - } gui.takeOverMergeConflictScrolling() } |