mirror of
https://github.com/yuukiwww/taiko-web.git
synced 2024-10-22 17:05:49 +02:00
Merge pull request #87 from LoveEevee/songsel-fix-title-cache
CanvasCache: Fix clearing on small screens
This commit is contained in:
commit
a0197e768b
@ -78,7 +78,7 @@ class CanvasCache{
|
|||||||
this.lastW = 0
|
this.lastW = 0
|
||||||
this.lastH = 0
|
this.lastH = 0
|
||||||
this.map.clear()
|
this.map.clear()
|
||||||
this.ctx.clearRect(0, 0, this.canvas.width * this.scale, this.canvas.height * this.scale)
|
this.ctx.clearRect(0, 0, this.w, this.h)
|
||||||
}
|
}
|
||||||
clean(){
|
clean(){
|
||||||
delete this.map
|
delete this.map
|
||||||
|
Loading…
Reference in New Issue
Block a user