MCPcopy Index your code
hub / github.com/paperwm/PaperWM / toggleScratch

Function toggleScratch

scratch.js:172–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172export function toggleScratch() {
173 if (isScratchActive())
174 hide();
175 else
176 show();
177}
178
179export function toggleScratchWindow() {
180 let focus = global.display.focus_window;

Callers

nothing calls this directly

Calls 3

isScratchActiveFunction · 0.85
hideFunction · 0.85
showFunction · 0.85

Tested by

no test coverage detected