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

Method removePreview

stackoverlay.js:342–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 removePreview() {
343 if (this.showPreviewTimeout) {
344 Utils.timeout_remove(this.showPreviewTimeout);
345 this.showPreviewTimeout = null;
346 }
347
348 if (this.clone) {
349 this.clone.destroy();
350 this.clone = null;
351 }
352 }
353
354 /**
355 * Shows the window preview in from the side it was triggered on.

Callers 5

constructorMethod · 0.95
_activateTargetMethod · 0.95
triggerPreviewMethod · 0.95
setTargetMethod · 0.95
destroyMethod · 0.95

Calls 1

destroyMethod · 0.45

Tested by

no test coverage detected