MCPcopy Create free account
hub / github.com/CNCKitchen/stlTexturizer / resetTextureSmoothing

Function resetTextureSmoothing

js/main.js:1067–1071  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1065 }
1066})();
1067
1068// Theme toggle
1069document.getElementById('theme-toggle').addEventListener('click', () => {
1070 const isLight = document.documentElement.getAttribute('data-theme') !== 'light';
1071 document.documentElement.setAttribute('data-theme', isLight ? 'light' : 'dark');
1072 localStorage.setItem('stlt-theme', isLight ? 'light' : 'dark');
1073 setViewerTheme(isLight);
1074});

Callers 2

selectPresetFunction · 0.85
wireEventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected