From 665ddff196c65f76f7c1ff6f4df552157c5067cf Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sat, 30 Apr 2022 22:08:29 -0500 Subject: [PATCH] Replaced the two Direction enums with a single one --- src/components/Nav.vue | 27 +++++++++++---------------- src/features/bars/Bar.vue | 2 +- src/features/bars/bar.ts | 9 +-------- src/features/tooltips/Tooltip.vue | 14 +++++++------- src/features/tooltips/tooltip.ts | 16 +++++----------- src/util/common.ts | 8 ++++++++ 6 files changed, 33 insertions(+), 43 deletions(-) diff --git a/src/components/Nav.vue b/src/components/Nav.vue index 66453b3..273017d 100644 --- a/src/components/Nav.vue +++ b/src/components/Nav.vue @@ -3,7 +3,7 @@
{{ title }}
- v{{ versionNumber }}
@@ -26,56 +26,51 @@
- + forum
- + info
- + library_books
- + settings
- + v{{ versionNumber }}
- + library_books
- + settings
- + info
- + forum @@ -111,7 +106,7 @@ import Info from "./Info.vue"; import Options from "./Options.vue"; import SavesManager from "./SavesManager.vue"; import Tooltip from "features/tooltips/Tooltip.vue"; -import { TooltipDirection } from "features/tooltips/tooltip"; +import { Direction } from "util/common"; const info = ref | null>(null); const savesManager = ref | null>(null); diff --git a/src/features/bars/Bar.vue b/src/features/bars/Bar.vue index 9c40732..22bc6ab 100644 --- a/src/features/bars/Bar.vue +++ b/src/features/bars/Bar.vue @@ -45,13 +45,13 @@