feat(projects): projects scrolling animation
This commit is contained in:
@@ -72,10 +72,10 @@ export const useProjectsStore = defineStore("projects", {
|
||||
this.currentProject < this.projects.length - 1
|
||||
) {
|
||||
this.currentProject += 1;
|
||||
offset = 69;
|
||||
offset = 104;
|
||||
} else if (direction === "left" && this.currentProject > 0) {
|
||||
this.currentProject -= 1;
|
||||
offset = -69;
|
||||
offset = -104;
|
||||
}
|
||||
|
||||
if (offset !== 0) {
|
||||
|
||||
Reference in New Issue
Block a user