|
@@ -416,7 +416,7 @@ export class Container extends Control {
|
|
}
|
|
}
|
|
|
|
|
|
/** @hidden */
|
|
/** @hidden */
|
|
- public _processPicking(x: number, y: number, type: number, pointerId: number, buttonIndex: number): boolean {
|
|
|
|
|
|
+ public _processPicking(x: number, y: number, type: number, pointerId: number, buttonIndex: number, deltaX?: number, deltaY?: number): boolean {
|
|
if (!this._isEnabled || !this.isVisible || this.notRenderable) {
|
|
if (!this._isEnabled || !this.isVisible || this.notRenderable) {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
@@ -428,7 +428,7 @@ export class Container extends Control {
|
|
// Checking backwards to pick closest first
|
|
// Checking backwards to pick closest first
|
|
for (var index = this._children.length - 1; index >= 0; index--) {
|
|
for (var index = this._children.length - 1; index >= 0; index--) {
|
|
var child = this._children[index];
|
|
var child = this._children[index];
|
|
- if (child._processPicking(x, y, type, pointerId, buttonIndex)) {
|
|
|
|
|
|
+ if (child._processPicking(x, y, type, pointerId, buttonIndex, deltaX, deltaY)) {
|
|
if (child.hoverCursor) {
|
|
if (child.hoverCursor) {
|
|
this._host._changeCursor(child.hoverCursor);
|
|
this._host._changeCursor(child.hoverCursor);
|
|
}
|
|
}
|
|
@@ -440,7 +440,7 @@ export class Container extends Control {
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
- return this._processObservables(type, x, y, pointerId, buttonIndex);
|
|
|
|
|
|
+ return this._processObservables(type, x, y, pointerId, buttonIndex, deltaX, deltaY);
|
|
}
|
|
}
|
|
|
|
|
|
/** @hidden */
|
|
/** @hidden */
|