diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-01-29 19:15:46 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | e363606fb6eeff130e38466f5a63a3a8c0e6ec0d (patch) | |
tree | 3af2946729ffc2e718daaa54f1338614be832251 /pkg/gui/diff_context_size_test.go | |
parent | 138be04e6575f2bd087630e49d122af578c78bf6 (diff) |
move context keys into context package
Diffstat (limited to 'pkg/gui/diff_context_size_test.go')
-rw-r--r-- | pkg/gui/diff_context_size_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/diff_context_size_test.go b/pkg/gui/diff_context_size_test.go index 8b77840db..62a784380 100644 --- a/pkg/gui/diff_context_size_test.go +++ b/pkg/gui/diff_context_size_test.go @@ -6,13 +6,13 @@ package gui // +++ b/pkg/gui/diff_context_size.go // @@ -9,12 +9,12 @@ func getRefreshFunction(gui *Gui) func()error { // } -// } else if key == MAIN_STAGING_CONTEXT_KEY { +// } else if key == context.MAIN_STAGING_CONTEXT_KEY { // return func() error { // - selectedLine := gui.Views.Secondary.SelectedLineIdx() // + selectedLine := gui.State.Panels.LineByLine.GetSelectedLineIdx() // return gui.handleRefreshStagingPanel(false, selectedLine) // } -// } else if key == MAIN_PATCH_BUILDING_CONTEXT_KEY { +// } else if key == context.MAIN_PATCH_BUILDING_CONTEXT_KEY { // ` // func setupGuiForTest(gui *Gui) { |