Fix flamechart bleeding (#151)

Fixes #150
This commit is contained in:
Jamie Wong
2018-08-23 09:59:16 -07:00
committed by GitHub
parent da2de64d97
commit 6116371ffb
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
## [1.0.1] - 2018-08-23
* Fixed an issue where flamegraph bounds were not always being cleared correctly, leading to visual artifacts [#150]
## [1.0.0] - 2018-08-23
### Fixed

View File

@@ -337,6 +337,8 @@ export class FlamechartRenderer {
)
renderInto(this.gl, renderTarget, () => {
this.gl.clear(new Graphics.Color(0, 0, 0, 0))
const viewportRect = new Rect(
Vec2.zero,
new Vec2(this.gl.viewport.width, this.gl.viewport.height),