From 3c7039245e146f7fa1d621bcb74c3b121c095a08 Mon Sep 17 00:00:00 2001 From: Aaron Ge Date: Tue, 14 May 2024 15:26:34 -0400 Subject: [PATCH] Fixed the bug where you are unable to change the column values of a core through manual editing --- .DS_Store | Bin 12292 -> 12292 bytes javascript/drawCanvas.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.DS_Store b/.DS_Store index 6a54dee41cbfaf7bf230fe97f62458ccebb51e9c..45ef1589a2da23b6c9895d94f710f75b10fca1b3 100644 GIT binary patch delta 546 zcma*kO-NL66vpB6`{yX;ogAF8s}?wTNhD-a92$d++a_%^5**Yl!ibrgqH$4_DWRhF zU5jqD9i`f|h^Z?I#`LvlBauS1kdlZ#H?3MUfzjoj%kqm=Xq2K;Mmbd&Y@nJ3w$j8lqI3|WlP>lVC&6Koq&P)C0}L|4MJ{oLtK1~b z1e4swW{PQMLOkas^DOX&k9^`YIi-}QylRcoRhg<#>r_Z>QjKc6imKg~zhZxh=B;dQ z*%{T^{&j_ApH8u1n!~R8KhO)ZDDUKpe3u;g6yc+i8bX8};tpD9rHx$u+To5e&NJu=+qL4b#3dCU`@@{BoN@s{`Y*Y$I& R|Gdz`(`@I}WD5SSegnZQghc=V delta 767 zcmb`_OGs2v7zgn0e`coc?I0d?%yE27AUQouCQ8c|HjIYpNQ#bWL8Di_#-(XAuSpi6 zm9^-#xll=^&?0(K!ekE@K}0lCw1_DpdaZ(>jX^DnqSK5UcP%=b^L_twIE&wRMmt73 zCigk5jY|WuY3Fv9&(qwYmaVOA+uDWLYwAsUL>n*$^=fTEH?63>M{P5@dZW$8e%+eL z$%bmdk!|BnZsj^^!7Y!=*TB8*<*Lw>kST8^(nUrlFX5%CFxAj5Bifxz+^hK-MRcnz z5v@~?q@r@ZUJ*gHbx`j&joxS~lrN9FEbmC1{;nebisUW}kt#w_ZMR zj{;OjVd|qHIzeY>f^O3k-J!?yoLD56O6Wb3`T!1M7$Z1@ z<2Z>^N$xS6#|2!(Wn95kTyr9ZDcr?9+{ZK?;Tc}yP3&|2(?#>X=en4E+2q3c(I1aF BvaA3A diff --git a/javascript/drawCanvas.js b/javascript/drawCanvas.js index d0d41b8..6487bf1 100644 --- a/javascript/drawCanvas.js +++ b/javascript/drawCanvas.js @@ -929,10 +929,10 @@ function saveCore(core) { core.col = newCol; if ( - window.sortedCoresData.some( + window.sortedCoresData.filter( (existingCore) => existingCore.row === newRow && existingCore.col === newCol - ) + ).length > 1 ) { updateColumnsInRowAfterModification(newRow); }