This commit is contained in:
Михаил Капелько
2023-05-22 20:15:10 +03:00
parent 907d4d1b4e
commit 6fb992ed0b
4 changed files with 13 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
}
function memoryItemPositions(M) {
var pos = [];
var pos = []
for (var i = 0; i < M.itemsCount; i++) {
let row = Math.floor(i / 4)
let x = memoryGap() + (i - row * 4) * memoryGap()