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:
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) {
|
||||
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';
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue