Removed potential fix for aspect ratio (that didn't work)

This commit is contained in:
Benjamin Claassen 2025-01-17 00:35:20 +01:00
parent 76dbe00a7f
commit 48e0e90caa
No known key found for this signature in database
GPG Key ID: C5F495EAE56673BF

View File

@ -724,10 +724,8 @@ class Sudoku extends HTMLElement {
for (const row of this.puzzle.rows) { for (const row of this.puzzle.rows) {
for (const field of row.cols) { for (const field of row.cols) {
const fieldElement = document.createElement("div") const fieldElement = document.createElement("div")
const subFieldElement = document.createElement("div")
fieldElement.classList.add("sudoku-field") fieldElement.classList.add("sudoku-field")
fieldElement.field = field fieldElement.field = field
fieldElement.appendChild(subFieldElement)
field.on("update", (field) => { field.on("update", (field) => {
this._sync() this._sync()
}) })