Skip to content

Commit

Permalink
Add explanatory comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jassmith committed Dec 28, 2023
1 parent dcffee5 commit 405a287
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/cells/loading-cell.tsx
Expand Up @@ -3,6 +3,7 @@ import { roundedRect } from "../internal/data-grid/data-grid-lib.js";
import { GridCellKind, type LoadingCell } from "../internal/data-grid/data-grid-types.js";
import type { InternalCellRenderer } from "./cell-types.js";

// returns a "random" number between -1 and 1
function getRandomNumber(x: number, y: number): number {
let seed = x * 49_632 + y * 325_176;

Expand Down

0 comments on commit 405a287

Please sign in to comment.