This fixes a regression from #548. The code there was toPane ? target, even though toPane was always undefined. I mistakenly moved the location check to after toPane's definition, even though we should always be able to look at target (as a split will not affect the pane's location).
This fixes a regression from #548. The code there was
toPane ? target
, even thoughtoPane
was always undefined. I mistakenly moved the location check to aftertoPane
's definition, even though we should always be able to look attarget
(as a split will not affect the pane's location).