From 4b4137a8e12a7948ee8c76d7cad6937ea4ad2e8f Mon Sep 17 00:00:00 2001 From: ThaUnknown <6506529+ThaUnknown@users.noreply.github.com> Date: Tue, 21 Nov 2023 18:32:56 +0100 Subject: [PATCH] feat: smooth scroll in settings --- .github/workflows/main.yml | 7 ++----- common/views/Settings/Settings.svelte | 5 +++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ba2529..a512809 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,13 +32,10 @@ jobs: node-version: '16' cache: 'pnpm' - - name: Enter Electron - run: cd electron - - name: Install dependencies - run: pnpm install --frozen-lockfile + run: cd electron && pnpm install --frozen-lockfile - name: Build and Publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm run publish + run: cd electron && npm run publish diff --git a/common/views/Settings/Settings.svelte b/common/views/Settings/Settings.svelte index 2d09ced..d60d0b7 100644 --- a/common/views/Settings/Settings.svelte +++ b/common/views/Settings/Settings.svelte @@ -50,6 +50,7 @@ import TorrentSettings from './TorrentSettings.svelte' import InterfaceSettings from './InterfaceSettings.svelte' import AppSettings from './AppSettings.svelte' + import smoothScroll from '@/modules/scroll.js' onDestroy(() => { IPC.off('path') @@ -84,7 +85,7 @@ -
+
Settings
{#each Object.values(groups) as group} @@ -131,7 +132,7 @@
-
+
{#await changeLog}

Loading changelog...

{:then changes}