gah
This commit is contained in:
parent
2fc35d931b
commit
e35c638093
2 changed files with 9 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.9-rc.10",
|
"version": "12.119.0-calc.9.9",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -109,17 +109,6 @@ window.addEventListener('resize', () => {
|
||||||
|
|
||||||
let buttonAnimIndex = 0;
|
let buttonAnimIndex = 0;
|
||||||
|
|
||||||
watch($$(mainRouter.currentRoute.value.name), () => {
|
|
||||||
let routerState = mainRouter.currentRoute.value.name;
|
|
||||||
console.log(routerState);
|
|
||||||
const bottomButtons = ['index', 'notifications', 'messaging'];
|
|
||||||
bottomButtons.forEach(i => {
|
|
||||||
if (routerState.includes(i)) {
|
|
||||||
buttonAnimIndex = bottomButtons.findIndex(j => j.includes(i));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
|
||||||
const widgetsEl = $ref<HTMLElement>();
|
const widgetsEl = $ref<HTMLElement>();
|
||||||
const postButton = $ref<HTMLElement>();
|
const postButton = $ref<HTMLElement>();
|
||||||
|
@ -145,6 +134,14 @@ const drawerMenuShowing = ref(false);
|
||||||
|
|
||||||
mainRouter.on('change', () => {
|
mainRouter.on('change', () => {
|
||||||
drawerMenuShowing.value = false;
|
drawerMenuShowing.value = false;
|
||||||
|
let routerState = mainRouter.currentRoute.value.name;
|
||||||
|
console.log(routerState);
|
||||||
|
const bottomButtons = ['index', 'notifications', 'messaging'];
|
||||||
|
bottomButtons.forEach(i => {
|
||||||
|
if (routerState.includes(i)) {
|
||||||
|
buttonAnimIndex = bottomButtons.findIndex(j => j.includes(i));
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
document.documentElement.style.overflowY = 'scroll';
|
document.documentElement.style.overflowY = 'scroll';
|
||||||
|
|
Loading…
Reference in a new issue