mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Test docs & made the default windows size to be bigger.
This commit is contained in:
parent
d9c6cec16e
commit
23295ff590
9 changed files with 441 additions and 59 deletions
|
@ -17,10 +17,10 @@ const isDragging = ref(false);
|
|||
const position = ref({
|
||||
x:
|
||||
props.initialX ||
|
||||
Math.floor(window.innerWidth / 2 - parseInt(props.width || "400") / 2),
|
||||
Math.floor(window.innerWidth / 2 - parseInt(props.width || "600") / 2),
|
||||
y:
|
||||
props.initialY ||
|
||||
Math.floor(window.innerHeight / 2 - parseInt(props.height || "300") / 2),
|
||||
Math.floor(window.innerHeight / 2 - parseInt(props.height || "400") / 2),
|
||||
});
|
||||
|
||||
const offset = ref({ x: 0, y: 0 });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue