mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-01 05:40:34 +00:00
Fix openbuffer view creation
This commit is contained in:
parent
d18864e607
commit
2c72a3755c
1 changed files with 0 additions and 2 deletions
|
|
@ -225,8 +225,6 @@ func (h *BufPane) OpenBuffer(b *buffer.Buffer) {
|
|||
h.BWindow.SetBuffer(b)
|
||||
h.Cursor = b.GetActiveCursor()
|
||||
h.Resize(h.GetView().Width, h.GetView().Height)
|
||||
v := new(display.View)
|
||||
h.SetView(v)
|
||||
h.Relocate()
|
||||
// Set mouseReleased to true because we assume the mouse is not being pressed when
|
||||
// the editor is opened
|
||||
|
|
|
|||
Loading…
Reference in a new issue