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

This commit is contained in:
BordedDev 2025-01-17 00:35:20 +01:00
parent a24e32249b
commit 367e12fe7b

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()
}) })