MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / getPreviewTileDims

Function getPreviewTileDims

renderer.js:635–638  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

633// STL Home Clear Directory (early for Docker/server)
634window.clearSTLHomeDirectory = async function clearSTLHomeDirectory() {
635 const input = document.getElementById('stl-home-directory');
636 if (input) input.value = '';
637 if (window.electron?.saveSetting) await window.electron.saveSetting('stlHome', '');
638 if (typeof window.updateScanStlHomeButtonVisibility === 'function') window.updateScanStlHomeButtonVisibility();
639 if (typeof window.stopPeriodicSTLHomeScan === 'function') window.stopPeriodicSTLHomeScan();
640 const dialog = document.getElementById('stl-home-dialog');
641 if (dialog && typeof dialog.close === 'function') dialog.close();

Callers 1

renderVirtualGridFunction · 0.85

Calls 1

getPreviewTileSizePxFunction · 0.85

Tested by

no test coverage detected