refactor: remove background variant none
This commit is contained in:
@@ -16,7 +16,6 @@ const props = withDefaults(defineProps<BackgroundProps>(), {
|
|||||||
const defaultColors: Record<BackgroundVariant, string> = {
|
const defaultColors: Record<BackgroundVariant, string> = {
|
||||||
[BackgroundVariant.Dots]: '#81818a',
|
[BackgroundVariant.Dots]: '#81818a',
|
||||||
[BackgroundVariant.Lines]: '#eee',
|
[BackgroundVariant.Lines]: '#eee',
|
||||||
[BackgroundVariant.None]: '#eee',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const { store } = useVueFlow()
|
const { store } = useVueFlow()
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ export type SnapGrid = [number, number]
|
|||||||
export enum BackgroundVariant {
|
export enum BackgroundVariant {
|
||||||
Lines = 'lines',
|
Lines = 'lines',
|
||||||
Dots = 'dots',
|
Dots = 'dots',
|
||||||
None = 'none',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SelectionRect extends Rect {
|
export interface SelectionRect extends Rect {
|
||||||
|
|||||||
Reference in New Issue
Block a user