Skip to content

Commit d76c0b0

Browse files
Adding markResize to fix prop not being updated correctly
1 parent 8d34e19 commit d76c0b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/views/splits.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,7 @@ func (n *Node) Unsplit() bool {
483483
// Simplify removes unnecessary chained parents
484484
func (n *Node) simplify() {
485485
if n.parent == nil || len(n.children) != 1 {
486+
n.markResize()
486487
return
487488
}
488489

0 commit comments

Comments
 (0)