Update app.vue

This commit is contained in:
syuilo 2020-02-08 12:49:22 +09:00
parent 23526eea40
commit caebaaab42

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