MCPcopy
hub / github.com/CapSoftware/Cap / isNoneBackground

Function isNoneBackground

apps/desktop/src/routes/editor/ConfigSidebar.tsx:1623–1624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1621 const { project, setProject, editorInstance, projectHistory } =
1622 useEditorContext();
1623 const isNoneBackground = () =>
1624 project.background.padding === 0 && project.background.rounding === 0;
1625 const initialCurrentDesktopBackgroundPath = () => {
1626 const source = project.background.source;
1627 if (source.type !== "wallpaper" || !source.path) return null;

Callers 3

BackgroundConfigFunction · 0.85
setBackgroundDimensionFunction · 0.85
importDesktopBackgroundFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected