MCPcopy Create free account

hub / github.com/Acid-OP/DrawDeck / functions

Functions266 in github.com/Acid-OP/DrawDeck

FunctionZoomBar
({ zoom, setZoom, minZoom = 0.2, maxZoom = 4, zoomStep = 0.1, })
apps/DrawDeck/components/ZoomBar.tsx:12
MethodcanRedo
()
apps/DrawDeck/app/draw/Game.ts:206
MethodcanUndo
()
apps/DrawDeck/app/draw/Game.ts:202
MethodcheckForDuplicates
()
apps/DrawDeck/app/draw/Game.ts:1377
MethodclearShapes
()
apps/DrawDeck/app/draw/Game.ts:958
FunctioncloseModal
()
apps/DrawDeck/components/SignupForm.tsx:118
FunctioncloseModal
()
apps/DrawDeck/components/SigninForm.tsx:125
Methodconstructor
(options: any = {})
apps/ws/src/index.ts:17
Methodconstructor
(canvas: HTMLCanvasElement, roomId: string | null, socket: WebSocket | null , isSolo:boolean=false , theme: "l
apps/DrawDeck/app/draw/Game.ts:895
FunctioncopyToClipboard
()
apps/DrawDeck/components/modal/LiveSessionModal.tsx:19
MethodcursorForHandle
(h:"tl"|"tr"|"bl"|"br"|"move"|"none")
apps/DrawDeck/app/draw/Game.ts:476
FunctiondebouncedResize
()
apps/DrawDeck/components/Canvas.tsx:252
FunctiondecryptRoomId
(encryptedKey: string, encryptedRoomId: string)
apps/DrawDeck/lib/decryptRoom.ts:1
MethoddeleteShapeById
(id: string)
apps/DrawDeck/app/draw/Game.ts:1470
Methoddist
(x1: number, y1: number, x2: number, y2: number)
apps/DrawDeck/app/draw/Game.ts:1893
MethoddrawConnectorLineToHandle
( fromX: number, fromY: number, toX: number, toY: number, stopDistance = 5 )
apps/DrawDeck/app/draw/Game.ts:548
MethoddrawX
(coord: number)
apps/DrawDeck/app/draw/Game.ts:2727
MethoddrawY
(coord: number)
apps/DrawDeck/app/draw/Game.ts:2728
FunctionfocusTextarea
()
apps/DrawDeck/components/Canvas.tsx:176
MethodforceRedraw
()
apps/DrawDeck/app/draw/Game.ts:883
Functiongenerator
(plop: PlopTypes.NodePlopAPI)
packages/ui/turbo/generators/config.ts:5
FunctiongetExistingShapes
(roomId: number)
apps/DrawDeck/app/draw/http.ts:1
MethodgetScreenCoordinates
(logicalX: number, logicalY: number)
apps/DrawDeck/app/draw/Game.ts:2375
MethodgetShapePosition
(shape: Shape)
apps/DrawDeck/app/draw/Game.ts:1363
FunctionhandleAuthClick
()
apps/DrawDeck/components/SidebarItems.tsx:58
FunctionhandleCancel
()
apps/DrawDeck/components/modal/ConfirmModal.tsx:18
FunctionhandleClick
()
apps/DrawDeck/components/Menu.tsx:34
FunctionhandleClickOutside
(e: MouseEvent)
apps/DrawDeck/components/modal/LiveSessionModal.tsx:34
FunctionhandleClickOutside
(e: MouseEvent)
apps/DrawDeck/components/modal/RoomfullModal.tsx:42
FunctionhandleClickOutside
(e: MouseEvent)
apps/DrawDeck/components/modal/SharelinkModal.tsx:95
FunctionhandleClickOutside
(e: MouseEvent)
apps/DrawDeck/components/modal/MobileLiveCollabModal.tsx:38
FunctionhandleClickOutside
(e: MouseEvent)
apps/DrawDeck/components/modal/KeyboardShortcutsModal.tsx:80
FunctionhandleClose
()
apps/DrawDeck/components/SidebarModal.tsx:48
FunctionhandleCopy
()
apps/DrawDeck/components/modal/SharelinkModal.tsx:33
FunctionhandleError
(error: ErrorEvent)
apps/DrawDeck/hooks/hooks.ts:26
FunctionhandleGoBack
()
apps/DrawDeck/components/RoomCanvas.tsx:457
FunctionhandleGoHome
()
apps/DrawDeck/components/errors/RoomInactivity.tsx:17
FunctionhandleKeyDown
(e: KeyboardEvent)
apps/DrawDeck/components/Canvas.tsx:300
FunctionhandleKeyDown
(e: KeyboardEvent)
apps/DrawDeck/components/modal/LiveSessionModal.tsx:25
FunctionhandleKeyDown
(e: KeyboardEvent)
apps/DrawDeck/components/modal/RoomfullModal.tsx:26
FunctionhandleKeyDown
(e: KeyboardEvent)
apps/DrawDeck/components/modal/SharelinkModal.tsx:87
FunctionhandleKeyDown
(e: KeyboardEvent)
apps/DrawDeck/components/modal/KeyboardShortcutsModal.tsx:70
FunctionhandleLiveClick
()
apps/DrawDeck/components/SidebarItems.tsx:56
FunctionhandleOutsideClick
(e: MouseEvent)
apps/DrawDeck/components/Menu.tsx:48
FunctionhandleShareClick
()
apps/DrawDeck/components/SidebarItems.tsx:50
FunctionhandleSignIn
()
apps/DrawDeck/components/AuthModal.tsx:26
FunctionhandleSocketClose
(closeEvent: CloseEvent)
apps/DrawDeck/components/RoomCanvas.tsx:169
FunctionhandleSocketMessage
(event: MessageEvent)
apps/DrawDeck/components/RoomCanvas.tsx:160
FunctionhandleStartSession
()
apps/DrawDeck/components/modal/LiveCollabModal.tsx:52
FunctionhandleStopSession
()
apps/DrawDeck/components/modal/SharelinkModal.tsx:43
FunctionhandleTouchEnd
(e: TouchEvent)
apps/DrawDeck/components/Canvas.tsx:217
FunctionhandleTouchStart
(ev: TouchEvent)
apps/DrawDeck/components/Canvas.tsx:193
FunctionhandleTryAgain
()
apps/DrawDeck/components/RoomCanvas.tsx:465
FunctionhandleUnhandledRejection
(event: PromiseRejectionEvent)
apps/DrawDeck/hooks/hooks.ts:32
Functionhandler
(e: MouseEvent)
apps/DrawDeck/components/modal/LiveCollabModal.tsx:76
MethodisOnSelectionBoxBorder
(shape: Shape, x: number, y: number)
apps/DrawDeck/app/draw/Game.ts:965
Functionjwt
({ token, account })
apps/DrawDeck/app/api/auth/[...nextauth]/route.ts:22
FunctionopenClearConfirm
()
apps/DrawDeck/components/SidebarItems.tsx:66
MethodremoveConnection
()
apps/ws/src/index.ts:113
Functionsession
({ session, token })
apps/DrawDeck/app/api/auth/[...nextauth]/route.ts:29
FunctiontoggleCamera
()
apps/DrawDeck/components/VideoCall.tsx:278
FunctiontoggleMic
()
apps/DrawDeck/components/VideoCall.tsx:291
FunctiontoggleTheme
()
apps/DrawDeck/context/ThemeContext.tsx:34
FunctionuseRoomHash
()
apps/DrawDeck/hooks/useRoomHash.ts:2
MethodzoomIn
()
apps/DrawDeck/app/draw/Game.ts:328
MethodzoomOut
()
apps/DrawDeck/app/draw/Game.ts:333
← previous201–266 of 266, ranked by callers