mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Cleanup: remove unused method Focus from PatchExplorerContext
This commit is contained in:
@ -94,11 +94,6 @@ func (self *PatchExplorerContext) Render() {
|
|||||||
self.c.Render()
|
self.c.Render()
|
||||||
}
|
}
|
||||||
|
|
||||||
func (self *PatchExplorerContext) Focus() {
|
|
||||||
self.FocusSelection()
|
|
||||||
self.c.Render()
|
|
||||||
}
|
|
||||||
|
|
||||||
func (self *PatchExplorerContext) setContent() {
|
func (self *PatchExplorerContext) setContent() {
|
||||||
self.GetView().SetContent(self.GetContentToRender())
|
self.GetView().SetContent(self.GetContentToRender())
|
||||||
}
|
}
|
||||||
|
@ -192,7 +192,6 @@ type IPatchExplorerContext interface {
|
|||||||
GetIncludedLineIndices() []int
|
GetIncludedLineIndices() []int
|
||||||
RenderAndFocus()
|
RenderAndFocus()
|
||||||
Render()
|
Render()
|
||||||
Focus()
|
|
||||||
GetContentToRender() string
|
GetContentToRender() string
|
||||||
NavigateTo(selectedLineIdx int)
|
NavigateTo(selectedLineIdx int)
|
||||||
GetMutex() *deadlock.Mutex
|
GetMutex() *deadlock.Mutex
|
||||||
|
Reference in New Issue
Block a user