From f335593f9bfbd1eb3db939b23af799709d5d8104 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Thu, 7 Jul 2022 18:06:38 +1000
Subject: Add auto-hiding of ancestors on leaf-click

---
 src/components/SettingsModal.vue | 4 ++++
 1 file changed, 4 insertions(+)

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

diff --git a/src/components/SettingsModal.vue b/src/components/SettingsModal.vue
index f0b9dc0..75db34b 100644
--- a/src/components/SettingsModal.vue
+++ b/src/components/SettingsModal.vue
@@ -93,6 +93,10 @@
 				<label> <input type="checkbox" v-model="uiOpts.searchJumpMode"
 					@change="onSettingChg('UI', 'searchJumpMode')"/> Skip search animation </label>
 			</div>
+			<div>
+				<label> <input type="checkbox" v-model="uiOpts.autoHide"
+					@change="onSettingChg('UI', 'autoHide')"/> Auto-hide ancestors </label>
+			</div>
 			<div v-if="uiOpts.touchDevice == false">
 				<label> <input type="checkbox" v-model="uiOpts.disableShortcuts"
 					@change="onSettingChg('UI', 'disableShortcuts')"/> Disable keyboard shortcuts </label>
-- 
cgit v1.2.3

