From 45bca977157084e11aaa2554ca3a2a403cedcfdb Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Fri, 24 Jun 2022 19:19:12 +1000
Subject: Move utility functions into util.ts

---
 src/App.vue | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/App.vue')

diff --git a/src/App.vue b/src/App.vue
index eae0a16..a8c98f8 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -14,13 +14,12 @@ import SearchIcon from './components/icon/SearchIcon.vue';
 import PlayIcon from './components/icon/PlayIcon.vue';
 import SettingsIcon from './components/icon/SettingsIcon.vue';
 import HelpIcon from './components/icon/HelpIcon.vue';
-// Classes and types
+// Other
 	// Note: Import paths lack a .ts or .js extension because .ts makes vue-tsc complain, and .js makes vite complain
 import {TolNode, TolMap, UiOptions, Action} from './lib';
 import {LayoutNode, LayoutOptions, LayoutTreeChg} from './layout';
-// Functions
-import {arraySum, randWeightedChoice, getScrollBarWidth, getBreakpoint} from './lib';
 import {initLayoutTree, initLayoutMap, tryLayout} from './layout';
+import {arraySum, randWeightedChoice, getScrollBarWidth, getBreakpoint} from './util';
 
 // Type representing auto-mode actions
 type AutoAction = 'move across' | 'move down' | 'move up' | Action;
-- 
cgit v1.2.3

