From aaba123bbc029257d9d3f58fb13ea67e99142f56 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 25 Mar 2022 22:42:59 +0100 Subject: [PATCH] refactor: remove background variant none --- src/additional-components/Background/Background.vue | 1 - src/types/flow.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/additional-components/Background/Background.vue b/src/additional-components/Background/Background.vue index 675ff554..4a2ec860 100644 --- a/src/additional-components/Background/Background.vue +++ b/src/additional-components/Background/Background.vue @@ -16,7 +16,6 @@ const props = withDefaults(defineProps(), { const defaultColors: Record = { [BackgroundVariant.Dots]: '#81818a', [BackgroundVariant.Lines]: '#eee', - [BackgroundVariant.None]: '#eee', } const { store } = useVueFlow() diff --git a/src/types/flow.ts b/src/types/flow.ts index 6703d900..de4e2757 100644 --- a/src/types/flow.ts +++ b/src/types/flow.ts @@ -56,7 +56,6 @@ export type SnapGrid = [number, number] export enum BackgroundVariant { Lines = 'lines', Dots = 'dots', - None = 'none', } export interface SelectionRect extends Rect {