File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -285,14 +285,16 @@ var Pointer = new Class({
285285 this . wasTouch = false ;
286286
287287 /**
288- * Did this Pointer get cancelled by a touchcancel event?
288+ * Did this Pointer get canceled by a touchcancel event?
289+ *
290+ * Note: "canceled" is the American-English spelling of "cancelled". Please don't submit PRs correcting it!
289291 *
290- * @name Phaser.Input.Pointer#wasCancelled
292+ * @name Phaser.Input.Pointer#wasCanceled
291293 * @type {boolean }
292294 * @default false
293295 * @since 3.15.0
294296 */
295- this . wasCancelled = false ;
297+ this . wasCanceled = false ;
296298
297299 /**
298300 * If the mouse is locked, the horizontal relative movement of the Pointer in pixels since last frame.
@@ -534,7 +536,7 @@ var Pointer = new Class({
534536 this . dirty = true ;
535537
536538 this . wasTouch = true ;
537- this . wasCancelled = false ;
539+ this . wasCanceled = false ;
538540 } ,
539541
540542 /**
@@ -591,7 +593,7 @@ var Pointer = new Class({
591593 this . dirty = true ;
592594
593595 this . wasTouch = true ;
594- this . wasCancelled = false ;
596+ this . wasCanceled = false ;
595597
596598 this . active = false ;
597599 } ,
@@ -619,7 +621,7 @@ var Pointer = new Class({
619621 this . dirty = true ;
620622
621623 this . wasTouch = true ;
622- this . wasCancelled = true ;
624+ this . wasCanceled = true ;
623625
624626 this . active = false ;
625627 } ,
You can’t perform that action at this time.
0 commit comments