|
@@ -95,12 +95,12 @@ onMounted(() => {
|
|
|
});
|
|
|
player.on("scroll-prev", (type) => {
|
|
|
if (type === 3) {
|
|
|
- props.fullpage.api.moveSectionUp();
|
|
|
+ fullpage.value.api.moveSectionUp();
|
|
|
}
|
|
|
});
|
|
|
- player.on("scroll-next", () => {
|
|
|
+ player.on("scroll-next", (type) => {
|
|
|
if (type === 3) {
|
|
|
- props.fullpage.api.moveSectionDown();
|
|
|
+ fullpage.value.api.moveSectionDown();
|
|
|
}
|
|
|
});
|
|
|
});
|