mirror of
https://github.com/wassname/phaser.git
synced 2026-08-19 12:30:07 +08:00
Added ability for full Audio tag playback and iOS touch lock load support.
This commit is contained in:
@@ -639,6 +639,7 @@ module Phaser {
|
||||
if (value == true && this._paused == false)
|
||||
{
|
||||
this._paused = true;
|
||||
this.sound.pauseAll();
|
||||
this._raf.callback = this.pausedLoop;
|
||||
}
|
||||
else if (value == false && this._paused == true)
|
||||
@@ -646,6 +647,7 @@ module Phaser {
|
||||
this._paused = false;
|
||||
//this.time.time = window.performance.now ? (performance.now() + performance.timing.navigationStart) : Date.now();
|
||||
this.input.reset();
|
||||
this.sound.resumeAll();
|
||||
|
||||
if (this.isRunning == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user