fetch user profile (wip)

This commit is contained in:
2025-12-05 21:52:46 +08:00
parent a9068fe575
commit f522148489
18 changed files with 179 additions and 50 deletions

View File

@@ -1,11 +1,7 @@
import { invoke } from "@tauri-apps/api/core";
import { listen, type UnlistenFn } from "@tauri-apps/api/event";
import { writable } from "svelte/store";
export type CursorPositions = {
raw: { x: number; y: number };
mapped: { x: number; y: number };
};
import type { CursorPositions } from "../types/bindings/CursorPositions";
export let cursorPositionOnScreen = writable<CursorPositions>({
raw: { x: 0, y: 0 },