mirror of
https://github.com/wassname/phaser.git
synced 2026-08-14 12:40:17 +08:00
WorldView now takes camera placement into account, so Buttons now work across multiple camera set-ups.
This commit is contained in:
@@ -336,8 +336,6 @@ module Phaser.Components {
|
||||
|
||||
public _pointerOverHandler(pointer: Pointer) {
|
||||
|
||||
// { id: i, x: 0, y: 0, isDown: false, isUp: false, isOver: false, isOut: false, timeOver: 0, timeOut: 0, isDragged: false }
|
||||
|
||||
if (this._pointerData[pointer.id].isOver == false)
|
||||
{
|
||||
this._pointerData[pointer.id].isOver = true;
|
||||
|
||||
Reference in New Issue
Block a user