Skip to content

Commit b6a7288

Browse files
matysonmarcus-oscarsson
authored andcommitted
correct cell filling considering cellCountFun
1 parent 9806ad8 commit b6a7288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/SampleView/DrawGridPlugin.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ export default class DrawGridPlugin {
536536
) {
537537
for (let nh = 0; nh < row; nh++) {
538538
for (let nw = 0; nw < col; nw++) {
539-
const index = nw + nh * col + 1;
539+
const index = this.countCells(gd.cellCountFun, nw, nh, row, col);
540540
if (result[index] !== undefined) {
541541
fillingMatrix[nw][nh] = this.heatMapColorForValue(
542542
gd,

0 commit comments

Comments
 (0)