From 27c38b53728818361692f947cb71a7184d0c986b Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 17 Jun 2022 01:47:49 +1000
Subject: Fix preferred/fallback sweep-to-parent layout-waste bug

---
 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 5cf2e95..b0f9c43 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: 'auto', //'never' | 'always' | 'auto'
+	sweepToParent: 'prefer', //'none' | 'prefer' | 'fallback'
 };
 const defaultUiOpts = {
 	// For tiles
-- 
cgit v1.2.3

