Update app.vue
This commit is contained in:
parent
d915ae0807
commit
42b4949b7f
|
@ -256,6 +256,7 @@ export default Vue.extend({
|
||||||
});
|
});
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
if (this.showNav) return; // TODO: トランジション中も false になるので、これだけでは不十分
|
||||||
this.$refs.title.style.left = (this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth) + 'px';
|
this.$refs.title.style.left = (this.$refs.main.getBoundingClientRect().left - this.$refs.nav.offsetWidth) + 'px';
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue