Remove grid viewer zoom slider — browser zoom is sufficient

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-21 01:15:52 +00:00
parent faed2f8296
commit 754f8504f1
3 changed files with 2 additions and 30 deletions

View File

@@ -1190,14 +1190,9 @@ function render_grid_viewer() {
}
));
const zoom_el = document.getElementById('gv-zoom');
const cells_el = document.getElementById('grid-cells');
cells_el.style.gridTemplateColumns = `repeat(${grid.cols}, 1fr)`;
zoom_el.addEventListener('input', () => {
cells_el.style.zoom = zoom_el.value / 100;
});
const all_cells = grid.cells.flat().map((filename, idx) => {
const row = Math.floor(idx / grid.cols);
const col = idx % grid.cols;