MCPcopy Index your code
hub / github.com/pascalorg/editor / getMaxSharedWindowRadius

Function getMaxSharedWindowRadius

packages/nodes/src/window/panel.tsx:41–43  ·  view source on GitHub ↗
(width: number, height: number)

Source from the content-addressed store, hash-verified

39}
40
41function getMaxSharedWindowRadius(width: number, height: number) {
42 return Math.max(0, Math.min(width / 2, height / 2))
43}
44
45function normalizeWindowCornerRadii(
46 radii: [number, number, number, number],

Callers 2

WindowPanelFunction · 0.85
getDimensionUpdatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…