defines paused

This commit is contained in:
circle-gon 2022-12-22 07:55:45 -05:00 committed by GitHub
parent 40f8fae0ad
commit c2e3b8eab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -860,7 +860,8 @@ const factory = createLayer(id, () => {
const pointerDown = ref(false),
pointerDrag = ref(false),
compHovered = ref<FactoryComponent | undefined>(undefined);
compHovered = ref<FactoryComponent | undefined>(undefined),
paused = ref(false);
function onFactoryPointerMove(e: PointerEvent) {
const { x, y } = getRelativeCoords(e);