alpha
Login
or
Join now
pds.dad
/
lexidraw
Star
41
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A Excalidraw fork with syncing to your Atmosphere account and iroh for sync
Https://lexidraw.app
Star
41
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
lexidraw
/
packages
/
element
/
src
/
at
main
2 folders
47 files
Márk Tolmács
fix(editor): should not select deleted bound text (#11660)
16d ago
5776e1cc
__tests__
fix: add constants and side methods to packages (#10418) * fix: add constants and side methods to packages * add transform to the element package * lint * remove dead code * put transform types back to transform.ts * fix imports * fix imports in test --------- Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
7 months ago
arrows
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
Scene.ts
fix(editor): should not select deleted bound text (#11660) fix: Incorrect selection of deleted bound text Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
align.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
arrowheads.ts
feat(editor): ERD arrowheads and diagrams (#10940)
4 months ago
binding.ts
fix(editor): Dragged arrow endpoint ignore grid and angle locks (#10972) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2 weeks ago
bounds.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
collision.ts
fix(editor): Hit cache soundness (#11630) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
comparisons.ts
feat(editor): LaserPointer based freedraw (#11507) Introduces constant width freedraw mode, keeping the original variable mode as default. --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
1 month ago
containerCache.ts
refactor: separate elements logic into a standalone package (#9285)
1 year ago
cropElement.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
delta.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
distance.ts
fix: Rotated rounded arrow center point (#10962)
4 months ago
distribute.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
dragElements.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
duplicate.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
elbowArrow.ts
fix(editor): remove extremely large arrows on restore (#11235) * fix: Temp fix for elbow arrow at restore Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Speculative fixes to avoid Infinity Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * validate/remove arrow size after point normalization & move binding repairs back * validate even simple arrows * remove x/y check * remove duplicate constant --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Copilot <copilot@github.com> Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
3 months ago
elementLink.ts
refactor: separate elements logic into a standalone package (#9285)
1 year ago
embeddable.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
flowchart.ts
fix(editor): avoid overlap of flowchart children (#11532) Closes #8518. Fixes the issue when adding a new child to a flowchart node that already has children (after the first creation session was committed), the new child could land on top of, or misaligned with, an existing sibling. --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
fractionalIndex.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
frame.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
groups.ts
chore(editor): streamline getSelectedElementsByGroup (#11636) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
heading.ts
fix: Circular reference (#10544) * fix: Circular reference Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Lint Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * Trigger CI --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
7 months ago
image.ts
refactor: separate elements logic into a standalone package (#9285)
1 year ago
index.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
linearElementEditor.ts
fix(editor): Dragged arrow endpoint ignore grid and angle locks (#10972) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2 weeks ago
mutateElement.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
newElement.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
positionElementsOnGrid.ts
feat: [cont.] support inserting multiple images (#9875) * feat: support inserting multiple images * Initial * handleAppOnDrop, onImageToolbarButtonClick, pasteFromClipboard * Initial get history working * insertMultipleImages -> insertImages * Bug fixes, improvements * Remove redundant branch * Refactor addElementsFromMixedContentPaste * History, drag & drop bug fixes * Update snapshots * Remove redundant try-catch * Refactor pasteFromClipboard * Plain paste check in mermaid paste * Move comment * processClipboardData -> insertClipboardContent * Redundant variable * Redundant variable * Refactor insertImages * createImagePlaceholder -> newImagePlaceholder * Get rid of unneeded NEVER schedule, filter out failed images * Trigger CI * Position placeholders before initializing * Don't mutate scene with positionElementsOnGrid, captureUpdate: CaptureUpdateAction.IMMEDIATELY * Comment * Move positionOnGrid out of file * Rename file * Get rid of generic * Initial tests * More asserts, test paste * Test image tool * De-duplicate * Stricter assert, move rest of logic outside of waitFor * Modify history tests * De-duplicate update snapshots * Trigger CI * Fix package build * Make setupImageTest more explicit * Re-introduce generic to use latest placeholder versions * newElementWith instead of mutateElement to delete failed placeholder * Insert failed images separately with CaptureUpdateAction.NEVER * Refactor * Don't re-order elements * WIP * Get rid of 'never' for failed * refactor type check * align max file size constant * make grid padding scale to zoom --------- Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
11 months ago
renderElement.ts
fix(editor): arrow label rendering fixes and perf improvements (#11637) Co-authored-by: DataVoyager-Aditya <rajthakuraditya63@gmail.com>
3 weeks ago
resizeElements.ts
fix(editor): keep multi-line bound text and container centered during alt resize (#11480)
3 weeks ago
resizeTest.ts
fix: Circular reference (#10544) * fix: Circular reference Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Lint Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * Trigger CI --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
7 months ago
selection.ts
fix(editor): should not select deleted bound text (#11660) fix: Incorrect selection of deleted bound text Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2 weeks ago
shape.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
showSelectedShapeActions.ts
feat: lasso selection (#9169) * lasso without 'real' shape detection * select a single linear el * improve ux * feed segments to worker * simplify path threshold adaptive to zoom * add a tiny threshold for checks * refactor code * lasso tests * fix: ts * do not capture lasso tool * try worker-loader in next config * update config * refactor * lint * feat: show active tool when using "more tools" * keep lasso if selected from toolbar * fix incorrect checks for resetting to selection * shift for additive selection * bound text related fixes * lint * keep alt toggled lasso selection if shift pressed * fix regression * fix 'dead' lassos * lint * use workerpool and polyfill * fix worker bundled with window related code * refactor * add file extension for worker constructor error * another attempt at constructor error * attempt at build issue * attempt with dynamic import * test not importing from math * narrow down imports * Reusing existing workers infrastructure (fallback to the main thread, type-safety) * Points on curve inside the shared chunk * Give up on experimental code splitting * Remove potentially unnecessary optimisation * Removing workers as the complexit is much worse, while perf. does not seem to be much better * fix selecting text containers and containing frames together * render fill directly from animated trail * do not re-render static when setting selected element ids in lasso * remove unnecessary property * tweak trail animation * slice points to remove notch * always start alt-lasso from initial point * revert build & worker changes (unused) * remove `lasso` from `hasStrokeColor` * label change * remove unused props * remove unsafe optimization * snaps --------- Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com> Co-authored-by: Marcel Mraz <marcel@excalidraw.com>
1 year ago
sizeHelpers.ts
feat: Try to preserve line angle on SHIFT+drag (#9570)
1 year ago
sortElements.ts
fix: group defragmenting (#11269)
2 months ago
store.ts
feat: apply deltas API (#9869)
11 months ago
textElement.ts
fix(editor): keep multi-line bound text and container centered during alt resize (#11480)
3 weeks ago
textMeasurements.ts
refactor: separate elements logic into a standalone package (#9285)
1 year ago
textWrapping.ts
feat(editor): put caret at pointer coords when clicking on selected text element (#10970)
4 months ago
transform.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
transformHandles.ts
fix: Circular reference (#10544) * fix: Circular reference Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * fix: Lint Signed-off-by: Mark Tolmacs <mark@lazycat.hu> * Trigger CI --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
7 months ago
typeChecks.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
types.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago
utils.ts
fix: Rotated rounded arrow center point (#10962)
4 months ago
visualdebug.ts
fix(packages/excalidraw): consolidate bounds checks (#11275) Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
1 month ago
zindex.ts
fix(editor): narrow `NonDeleted` type to `isDeleted: false` (#11470) --------- Signed-off-by: Mark Tolmacs <mark@lazycat.hu> Co-authored-by: Mark Tolmacs <mark@lazycat.hu>
3 weeks ago