{ "id": "139293", "key": "TIMOB-19592", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-04-19T14:36:39.000+0000", "created": "2014-11-08T09:24:17.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56463", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "127148", "key": "TIMOB-16596", "fields": { "summary": "Android: Animation anchorPoints not working", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2018-04-19T14:36:39.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If you create a matrix with an anchor point and then use the rotate() method, the resulting matrix will be set with the default anchor point and no way to change it.\r\n\r\nYou will expect this view to be rotated from the bottom, but it is from the center.\r\n\r\nvar v = Ti.UI.createView({\r\n\twidth:100,\r\n\theight:200,\r\n\tbackgroundColor:\"red\"\r\n});\r\n$.index.add(v);\r\n\r\nvar matrix = Ti.UI.create2DMatrix({ \r\n\tanchorPoint: {x:0.5,y:1}\r\n});\r\nmatrix = matrix.rotate(45);\r\nv.transform = matrix;", "attachment": [], "flagged": false, "summary": "Anchor point not preserved after rotation in 2DMatrix Android", "creator": { "name": "7daysofrain", "key": "7daysofrain", "displayName": "Joseba Alonso", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "7daysofrain", "key": "7daysofrain", "displayName": "Joseba Alonso", "active": true, "timeZone": "Europe/Berlin" }, "environment": "SDK 3.4.0.GA", "comment": { "comments": [ { "id": "436999", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "Clarification: According to the docs:\r\nhttps://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.Animation-property-anchorPoint\r\n{{anchorPoint}} is a property of Ti.UI.Animation not Ti.UI.2DMatrix.\r\n\r\nThe code snippet needs to be adjusted according to that in order to test it properly. Doing so and running the sample against an SDK built with the changes from TIMOB-16596 results in a proper behavior. \r\n\r\nClosing the ticket.", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2018-04-19T14:35:20.000+0000", "updated": "2018-04-19T14:36:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }