From 90423f8fc956ebb915d63b834d0fffbc13d6cece Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Thu, 16 Jun 2022 14:05:34 +1000
Subject: Add sweep-to-parent 'auto' setting

---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 50c2ae4..5cf2e95 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -55,7 +55,7 @@ const defaultLytOpts: LayoutOptions = {
 	rectMode: 'auto first-row', //'horz' | 'vert' | 'linear' | 'auto' | 'auto first-row'
 	sweepMode: 'left', //'left' | 'top' | 'shorter' | 'auto'
 	sweptNodesPrio: 'linear', //'linear' | 'sqrt' | 'pow-2/3'
-	sweepToParent: true,
+	sweepToParent: 'auto', //'never' | 'always' | 'auto'
 };
 const defaultUiOpts = {
 	// For tiles
-- 
cgit v1.2.3

