Removed potential fix for aspect ratio (that didn't work)
This commit is contained in:
parent
76dbe00a7f
commit
48e0e90caa
@ -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()
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user