Worked on commands, notifications
This commit is contained in:
@ -42,6 +42,12 @@ const x = ref(0);
|
||||
const y = ref(0);
|
||||
const isDragging = ref(false);
|
||||
|
||||
// set modal position center of the screen
|
||||
onMounted(() => {
|
||||
x.value = (window.innerWidth / 2) - 150;
|
||||
y.value = (window.innerHeight / 2) - 100;
|
||||
});
|
||||
|
||||
const startDrag = (event: MouseEvent) => {
|
||||
isDragging.value = true;
|
||||
startX = event.clientX;
|
||||
|
Reference in New Issue
Block a user