mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-24 05:06:41 +00:00
|
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
The preview feature heavily relies on the global `window` object. This forces the preview to be used only as a standalone page. In this PR, I replaced `window` with `windowElem` to make the preview component modular and reusable. TODO: - [x] Fix `handleTypstLocation` - [x] Fix zoon center - [x] Fix drag - [ ] Do a comprehensive test - [x] `handleTypstLocation` under both canvas mode and SVG mode - [ ] other stuff (idk what yet) |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.js | ||