fix(settings): wrong moment to set buttonYOffset to 0
This commit is contained in:
@@ -111,9 +111,6 @@ export const useSettingsStore = defineStore("settings", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
async closeSubMenu() {
|
async closeSubMenu() {
|
||||||
const confirmationModal = useConfirmationModal();
|
|
||||||
confirmationModal.buttonsYOffset = 0;
|
|
||||||
|
|
||||||
await gsap
|
await gsap
|
||||||
.timeline()
|
.timeline()
|
||||||
.to(this, {
|
.to(this, {
|
||||||
@@ -123,6 +120,8 @@ export const useSettingsStore = defineStore("settings", {
|
|||||||
})
|
})
|
||||||
.call(() => {
|
.call(() => {
|
||||||
this.currentSubMenu = null;
|
this.currentSubMenu = null;
|
||||||
|
const confirmationModal = useConfirmationModal();
|
||||||
|
confirmationModal.buttonsYOffset = 0;
|
||||||
})
|
})
|
||||||
.fromTo(
|
.fromTo(
|
||||||
this.submenuBackground,
|
this.submenuBackground,
|
||||||
|
|||||||
Reference in New Issue
Block a user