MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / drainPendingActions

Function drainPendingActions

tools/decoration-runtime.ts:3290–3301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3288
3289function snapshotManagedWindowPointOption(
3290 point: ManagedWindowPoint,
3291): RuntimeManagedWindowPoint {
3292 return {
3293 x: read(point.x),
3294 y: read(point.y),
3295 };
3296}
3297
3298function serializeManagedWindowEasing(
3299 easing: ManagedWindowAnimationEasing | undefined,
3300): RuntimeManagedWindowAnimationEasing {
3301 if (!easing || easing === "linear") {
3302 return { kind: "linear" };
3303 }
3304 if (typeof easing === "function") {

Callers 3

mainFunction · 0.85
startCloseFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected