Add TODO about mysterious behavior of ResizeSplit()

This commit is contained in:
Dmytro Maluka 2024-03-14 05:26:34 +01:00
parent cb903f414c
commit db26b5fee5

View File

@ -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
}