Skip to content

Commit

Permalink
[CI] Update Snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Oct 30, 2024
1 parent 32dde64 commit 9a4291f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/atoms/cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ export class CellManager {
console.warn("Invalid cell data for updating cell mesh");
return;
}
if (!this.cellMesh && !this.currentCell) {
return;
}
// If the cell is the same as the current cell within tolerance, do nothing
const eps = 1e-5;
if (cell.every((row, i) => row.every((cellValue, j) => Math.abs(cellValue - this.currentCell[i][j]) < eps))) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/e2e/gui.spec.js-snapshots/Cell-hide-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9a4291f

Please sign in to comment.