From 62d8ca9bd7ab191152c5fdfebcffcb68e075575e Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 24 Jun 2022 13:08:16 +1000
Subject: Add rect-sensitivity option for layout-stability

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

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index 428033f..b6dee86 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -56,6 +56,7 @@ function getDefaultLytOpts(): LayoutOptions {
 		// Layout-algorithm related
 		layoutType: 'sweep', //'sqr' | 'rect' | 'sweep'
 		rectMode: 'auto first-row', //'horz' | 'vert' | 'linear' | 'auto' | 'auto first-row'
+		rectSensitivity: 0.9, //Between 0 and 1
 		sweepMode: 'left', //'left' | 'top' | 'shorter' | 'auto'
 		sweptNodesPrio: 'sqrt', //'linear' | 'sqrt' | 'pow-2/3'
 		sweepToParent: 'prefer', //'none' | 'prefer' | 'fallback'
-- 
cgit v1.2.3

