mirror of
https://github.com/zyedidia/micro.git
synced 2024-11-04 01:12:52 +03:00
Add TODO about mysterious behavior of ResizeSplit()
This commit is contained in:
parent
cb903f414c
commit
db26b5fee5
@ -185,6 +185,7 @@ func (n *Node) hResizeSplit(i int, size int) bool {
|
||||
|
||||
// ResizeSplit resizes a certain split to a given size
|
||||
func (n *Node) ResizeSplit(size int) bool {
|
||||
// TODO: `size < 0` does not work for some reason
|
||||
if size <= 0 {
|
||||
return false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user