MCPcopy
hub / github.com/4ian/GDevelop / handleMouseUp

Function handleMouseUp

newIDE/app/src/EventsSheet/InlinePopover.js:73–79  ·  view source on GitHub ↗
(event: MouseEvent)

Source from the content-addressed store, hash-verified

71 if (!externalDoc || externalDoc === document) return;
72
73 const handleMouseUp = (event: MouseEvent) => {
74 const content = popperContentRef.current;
75 if (content && content.contains((event.target: any))) return;
76 if (doesPathContainDialog((event: any).composedPath())) return;
77
78 onApply();
79 };
80
81 externalDoc.addEventListener('mouseup', handleMouseUp);
82 return () => {

Callers

nothing calls this directly

Calls 4

doesPathContainDialogFunction · 0.90
composedPathMethod · 0.80
onApplyFunction · 0.50
containsMethod · 0.45

Tested by

no test coverage detected