Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2282] When we use 'touchMove' on any object then, we have not got "globalPoint" Property?

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-07-25T17:35:30.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid, ios
ReporterMritunjay Singh
AssigneeDaniel Sefton
Created2013-07-25T09:26:45.000+0000
Updated2016-03-08T07:41:17.000+0000

Description

Hello, In Titanium 2.x When we use "touchMove" on any object (like button and view). then we have got globalPoint Value. But, In Titanium 3.x. We have not getting globalPoint. How I can Manage this?

Comments

  1. Daniel Sefton 2013-07-25

    Hi Mritunjay, globalPoint has been deprecated in 3.x (and removed in 3.1.x). Please use convertPointToView instead, e.g.
    var coords = thisview.convertPointToView({
           x : e.x,
           y : e.y
       }, $.anotherview);
    http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.View-method-convertPointToView Closing as invalid.

JSON Source