Remove grid viewer zoom slider — browser zoom is sufficient
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user