@ -138,6 +138,9 @@ const allPixelColors = new Float32Array(
)
export const setPixelColor = (x: number, y: number, color: number) => {
if (x < 0 || y < 0 || x > 127 || y > 127) {
return;
}
if (color !== 0) {
const col = c(color);
allPixelColors.set(col, 4*6*(128*y+x));
The note is not visible to the blocked user.