MCPcopy Create free account
hub / github.com/DeepNotesApp/DeepNotes / getWorldRect

Method getWorldRect

apps/client/src/code/pages/page/notes/note.ts:612–620  ·  view source on GitHub ↗
(part: string)

Source from the content-addressed store, hash-verified

610 return this.page.rects.clientToDisplay(clientRect);
611 }
612 getWorldRect(part: string) {
613 const clientRect = this.getClientRect(part);
614
615 if (clientRect == null) {
616 return;
617 }
618
619 return this.page.rects.clientToWorld(clientRect);
620 }
621
622 removeFromRegion() {
623 const items = this.react.region.react.collab.noteIds.slice();

Callers 7

fitToScreenMethod · 0.45
copyMethod · 0.45
pasteMethod · 0.45
startMethod · 0.45
fitContentMethod · 0.45
_dragOutMethod · 0.45
createMethod · 0.45

Calls 2

getClientRectMethod · 0.95
clientToWorldMethod · 0.45

Tested by

no test coverage detected