Update app.vue

This commit is contained in:
syuilo 2020-02-08 12:49:22 +09:00
parent d915ae0807
commit 42b4949b7f

View file

@ -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);