mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
iOS and any browser identifying as AppleWebKit
will now set the Device.es2019
flag to true
. This causes Phaser to use the native array Stable Sort. This fixes an issue where overlapping particles could flicker on iOS. Fix #6483
This commit is contained in:
parent
533ed6e47d
commit
377cc6b37b
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ function init ()
|
|||
else if ((/AppleWebKit/).test(ua) && OS.iOS)
|
||||
{
|
||||
Browser.mobileSafari = true;
|
||||
Browser.es2019 = true;
|
||||
}
|
||||
else if ((/MSIE (\d+\.\d+);/).test(ua))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue