Create window above
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 56s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 56s
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import { onBeforeUnmount, onMounted, ref } from 'vue';
|
import { onBeforeUnmount, onMounted, ref } from 'vue';
|
||||||
import { SetupHandle, SetSize, ResetPosition, ClearWindow } from '@/services/Windows';
|
import { SetupHandle, SetSize, ResetPosition, ClearWindow, Top } from '@/services/Windows';
|
||||||
import WindowHandle from './partials/WindowHandle.vue';
|
import WindowHandle from './partials/WindowHandle.vue';
|
||||||
import Server from '~/services/Server';
|
import Server from '~/services/Server';
|
||||||
import { emitter } from '~/services/Emitter';
|
import { emitter } from '~/services/Emitter';
|
||||||
@@ -16,6 +16,7 @@ let id = data.id;
|
|||||||
const newName = ref('');
|
const newName = ref('');
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
Top(wrapper);
|
||||||
SetupHandle(id, handle);
|
SetupHandle(id, handle);
|
||||||
SetSize(id, { width: 420, height: 200 });
|
SetSize(id, { width: 420, height: 200 });
|
||||||
ResetPosition(id, 'center');
|
ResetPosition(id, 'center');
|
||||||
|
|||||||
Reference in New Issue
Block a user