mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
fixed rendering of angle indicators
This commit is contained in:
parent
8ac06b227a
commit
aaffee3b72
1 changed files with 3 additions and 1 deletions
|
@ -715,11 +715,13 @@ var Vector = require('../geometry/Vector');
|
||||||
if (options.wireframes) {
|
if (options.wireframes) {
|
||||||
c.strokeStyle = 'indianred';
|
c.strokeStyle = 'indianred';
|
||||||
} else {
|
} else {
|
||||||
c.strokeStyle = 'rgba(0,0,0,0.3)';
|
c.strokeStyle = 'rgba(0,0,0,0.8)';
|
||||||
|
c.globalCompositeOperation = 'overlay';
|
||||||
}
|
}
|
||||||
|
|
||||||
c.lineWidth = 1;
|
c.lineWidth = 1;
|
||||||
c.stroke();
|
c.stroke();
|
||||||
|
c.globalCompositeOperation = 'source-over';
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue