This commit is contained in:
syuilo 2019-08-29 05:13:03 +09:00
parent be33581642
commit 89d35c2e63

View File

@ -82,6 +82,8 @@ export default Vue.extend({
if (document.hidden) return; if (document.hidden) return;
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.icon == null) return;
const rect = this.$refs.icon.$el.getBoundingClientRect(); const rect = this.$refs.icon.$el.getBoundingClientRect();
const x = rect.left; const x = rect.left;