Skip to content

Commit

Permalink
Adding new experiment state, see #39
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinVallejo committed Oct 2, 2024
1 parent ccbda6f commit 3cb16c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js/coins/view/CoinSetPixelRepresentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ export default class CoinSetPixelRepresentation extends CanvasNode {
return value === 1 ? 'grey' : 'transparent';
};
break;
case 'measuredAndHidden':
getColor = ( value: number ) => {
return value === 1 ? 'grey' : 'transparent';
};
break;
default:
getColor = () => {
return 'red';
Expand Down

0 comments on commit 3cb16c2

Please sign in to comment.