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/components/SettingsModal.vue | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

(limited to 'src/components/SettingsModal.vue')

diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue
index 1f56cfb..20864fd 100644
--- a/src/components/SettingsModal.vue
+++ b/src/components/SettingsModal.vue
@@ -107,8 +107,21 @@ export default defineComponent({
 		</div>
 		<hr class="border-stone-400"/>
 		<div>
-			<label> <input type="checkbox" v-model="lytOpts.sweepToParent"
-				@change="onLytOptChg"/> Sweep to parent</label>
+			Sweep to parent
+			<ul>
+				<li>
+					<label> <input type="radio" v-model="lytOpts.sweepToParent" value="never"
+						@change="onLytOptChg"/> Never </label>
+				</li>
+				<li>
+					<label> <input type="radio" v-model="lytOpts.sweepToParent" value="always"
+						@change="onLytOptChg"/> Always </label>
+				</li>
+				<li>
+					<label> <input type="radio" v-model="lytOpts.sweepToParent" value="auto"
+						@change="onLytOptChg"/> Auto </label>
+				</li>
+			</ul>
 		</div>
 		<hr class="border-stone-400"/>
 		<div>
-- 
cgit v1.2.3

