mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
Events.onInputUp would be dispatched twice if the Sprite had drag enabled, now only dispatched once (thanks Overbryd, fixes #502)
Changed webfont URI back to //
This commit is contained in:
@@ -196,6 +196,7 @@ Bug Fixes:
|
||||
* If the game was set to NO_SCALE and you swapped orientation, it would pause and resize, then fail to resize when you swapped back (thanks starnut, fixes #258)
|
||||
* Device no longer things a Windows Phone or Windows Tablet are desktop devices (thanks wombatbuddy, fixes #506)
|
||||
* Sound.onMarkerComplete event is now dispatched when a marker stops. See Sound.onLoop for a looping marker event (thanks registered99, fixes #500)
|
||||
* Events.onInputUp would be dispatched twice if the Sprite had drag enabled, now only dispatched once (thanks Overbryd, fixes #502)
|
||||
|
||||
|
||||
TO DO:
|
||||
|
||||
@@ -19,7 +19,7 @@ WebFontConfig = {
|
||||
function preload() {
|
||||
|
||||
// Load the Google WebFont Loader script
|
||||
game.load.script('webfont', 'http://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
|
||||
game.load.script('webfont', '//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ WebFontConfig = {
|
||||
function preload() {
|
||||
|
||||
// Load the Google WebFont Loader script
|
||||
game.load.script('webfont', 'http://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
|
||||
game.load.script('webfont', '//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js');
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1118,7 +1118,6 @@ Phaser.InputHandler.prototype = {
|
||||
}
|
||||
|
||||
this.sprite.events.onDragStop.dispatch(this.sprite, pointer);
|
||||
this.sprite.events.onInputUp.dispatch(this.sprite, pointer);
|
||||
|
||||
if (this.checkPointerOver(pointer) === false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user