Commit e95888cb by Alexander Bazo

Restore default gaze point color for local data

parent 44f7844d
......@@ -22,7 +22,7 @@ class Renderer {
let inversedAge = 1 - gazePoint.relativeAge,
radius = inversedAge * GAZE_POINT_RADIUS;
context.save();
context.fillStyle = gazePoint.color;
context.fillStyle = gazePoint.color || DEFAULT_GAZE_POINT_COLOR;
context.globalAlpha = inversedAge;
context.globalAlpha = 1;
context.beginPath();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment