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