canvas: redraw on resize one frame earlier
This commit is contained in:
parent
aced94adfd
commit
77b3b6be85
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ module.exports = class _canvas_base extends _widgets_base {
|
|||
this.ctx.textBaseline = "middle"
|
||||
this.ctx.textAlign = this.textAlign
|
||||
|
||||
requestAnimationFrame(this.batchDraw.bind(this))
|
||||
requestAnimationFrame(this.draw.bind(this))
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue