mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Made a warning bomb and also is super laggy.
This commit is contained in:
parent
542a22f168
commit
3c3b65c18e
2 changed files with 22 additions and 11 deletions
|
@ -13,8 +13,8 @@ const emit = defineEmits(['close'])
|
|||
|
||||
const isDragging = ref(false)
|
||||
const position = ref({
|
||||
x: props.initialX || 100,
|
||||
y: props.initialY || 100
|
||||
x: props.initialX || Math.floor(window.innerWidth / 2) - Math.random() * 200,
|
||||
y: props.initialY || Math.floor(window.innerHeight / 2) - Math.random() * 10
|
||||
})
|
||||
const offset = ref({ x: 0, y: 0 })
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue