mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Remove redundant calls to resize editable panels at creating time
The only purpose of this was to scroll the editable text correctly (see https://github.com/jesseduffield/lazygit/pull/2146); now that gocui takes care of that, we no longer need to do this.
This commit is contained in:
parent
32cfe7a5c3
commit
bb01648521
2 changed files with 0 additions and 2 deletions
|
@ -218,7 +218,6 @@ func (self *ConfirmationHelper) CreatePopupPanel(ctx goContext.Context, opts typ
|
|||
textArea := confirmationView.TextArea
|
||||
textArea.Clear()
|
||||
textArea.TypeString(opts.Prompt)
|
||||
self.resizeConfirmationPanel()
|
||||
confirmationView.RenderTextArea()
|
||||
} else {
|
||||
self.c.ResetViewOrigin(confirmationView)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue