Skip to content

Commit 29fc46d

Browse files
committed
Cleanup: remove unused method Focus from PatchExplorerContext
1 parent 3f546f7 commit 29fc46d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

pkg/gui/context/patch_explorer_context.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ func (self *PatchExplorerContext) Render() {
9494
self.c.Render()
9595
}
9696

97-
func (self *PatchExplorerContext) Focus() {
98-
self.FocusSelection()
99-
self.c.Render()
100-
}
101-
10297
func (self *PatchExplorerContext) setContent() {
10398
self.GetView().SetContent(self.GetContentToRender())
10499
}

pkg/gui/types/context.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,6 @@ type IPatchExplorerContext interface {
192192
GetIncludedLineIndices() []int
193193
RenderAndFocus()
194194
Render()
195-
Focus()
196195
GetContentToRender() string
197196
NavigateTo(selectedLineIdx int)
198197
GetMutex() *deadlock.Mutex

0 commit comments

Comments
 (0)