From a3076b52caa3f5aaaa07f0279e2aecc805cc278c Mon Sep 17 00:00:00 2001 From: Dlurak <84224239+Dlurak@users.noreply.github.com> Date: Sun, 23 Jun 2024 14:16:03 +0200 Subject: [PATCH] Implement snapping for panes --- .github/workflows/{format.yml => lint.yml} | 4 +- src/lib/components/panes/Panes.svelte | 73 +++++++++++++++++--- src/lib/components/select/NotTyppable.svelte | 1 - 3 files changed, 67 insertions(+), 11 deletions(-) rename .github/workflows/{format.yml => lint.yml} (88%) diff --git a/.github/workflows/format.yml b/.github/workflows/lint.yml similarity index 88% rename from .github/workflows/format.yml rename to .github/workflows/lint.yml index aacf252..72cfb50 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/lint.yml @@ -1,8 +1,8 @@ -name: Linting & formatting +name: Lint on: push: - branches: ['master', 'actions'] + branches: 'master' workflow_dispatch: jobs: diff --git a/src/lib/components/panes/Panes.svelte b/src/lib/components/panes/Panes.svelte index a984a4a..96e64d3 100644 --- a/src/lib/components/panes/Panes.svelte +++ b/src/lib/components/panes/Panes.svelte @@ -1,18 +1,23 @@
-
+
+ + + +
+
+ +
+
-
+
+
diff --git a/src/lib/components/select/NotTyppable.svelte b/src/lib/components/select/NotTyppable.svelte index d9a292b..e031c6d 100644 --- a/src/lib/components/select/NotTyppable.svelte +++ b/src/lib/components/select/NotTyppable.svelte @@ -4,7 +4,6 @@ import { flip, offset, shift } from '@floating-ui/core'; import { createFloatingActions } from 'svelte-floating-ui'; import { ChevronDown, Icon } from 'svelte-hero-icons'; - import QuickAction from '../buttons/QuickAction.svelte'; import Frame from '../input/Frame.svelte'; import type { Readable } from 'svelte/store'; import Store from '../utils/Store.svelte';