mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Fix bug
This commit is contained in:
parent
f89324e585
commit
2d4c00925a
@ -82,6 +82,8 @@ export default Vue.extend({
|
||||
if (document.hidden) return;
|
||||
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.icon == null) return;
|
||||
|
||||
const rect = this.$refs.icon.$el.getBoundingClientRect();
|
||||
|
||||
const x = rect.left;
|
||||
|
Loading…
Reference in New Issue
Block a user