From f8f3b0e28285b1513f4856f03a43ff471bb4311f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 5 Oct 2022 16:07:36 +0200 Subject: [PATCH] feat: add smooth scrolling capabilities --- src/App.vue | 2 +- src/components/SkillPicker.vue | 11 ++++++- src/components/Timeline.vue | 4 +-- src/service/scroller.ts | 57 ++++++++++++++++++++++++++++++++++ 4 files changed, 70 insertions(+), 4 deletions(-) create mode 100644 src/service/scroller.ts diff --git a/src/App.vue b/src/App.vue index 841d710..eade8b1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,7 @@ import SkillPicker from './components/SkillPicker.vue'; Home, Timeline, SkillPicker, - }, + } }) export default class App extends Vue { private selected: tID|null = null; diff --git a/src/components/SkillPicker.vue b/src/components/SkillPicker.vue index 493326f..209cf85 100644 --- a/src/components/SkillPicker.vue +++ b/src/components/SkillPicker.vue @@ -28,7 +28,7 @@

Featured in {{ details.projects.length }} {{ details.projects.length > 1 ? 'projects' : 'project' }}