0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

fixed rendering of angle indicators

This commit is contained in:
liabru 2016-02-07 15:24:58 +00:00
parent 8ac06b227a
commit aaffee3b72

View file

@ -715,11 +715,13 @@ var Vector = require('../geometry/Vector');
if (options.wireframes) {
c.strokeStyle = 'indianred';
} else {
c.strokeStyle = 'rgba(0,0,0,0.3)';
c.strokeStyle = 'rgba(0,0,0,0.8)';
c.globalCompositeOperation = 'overlay';
}
c.lineWidth = 1;
c.stroke();
c.globalCompositeOperation = 'source-over';
};
/**