canvas: attempt to mitigate memory issue on ios (bis)
This commit is contained in:
parent
f3b2b8900c
commit
6eb8b73c77
1 changed files with 10 additions and 0 deletions
|
|
@ -415,6 +415,16 @@ class Fader extends Slider {
|
|||
|
||||
}
|
||||
|
||||
onRemove() {
|
||||
|
||||
if (this.pips) {
|
||||
this.pips.width = 0
|
||||
this.pips.height = 0
|
||||
}
|
||||
super.onRemove()
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue