We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32fcf96 commit 7fa6c9dCopy full SHA for 7fa6c9d
ui/src/components/SampleView/SampleImage.jsx
@@ -533,20 +533,20 @@ class SampleImage extends React.Component {
533
const [cellIdxX, cellIdxY] = this.drawGridPlugin.getClickedCellIndex(
534
shapeData,
535
option.target,
536
- option.pointer,
+ option.e,
537
);
538
539
const imgNum = this.drawGridPlugin.countCells(
540
shapeData.cellCountFun,
541
- cellIdxY,
542
cellIdxX,
+ cellIdxY,
543
shapeData.numRows,
544
shapeData.numCols,
545
546
547
const { resultDataPath } = shapeData;
548
if (resultDataPath !== undefined) {
549
- this.props.displayImage(`${resultDataPath}&img_num=${imgNum}`);
+ this.props.displayImage(resultDataPath, imgNum);
550
}
551
552
0 commit comments