Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26045

Windows: 2DMatrix rotation scales view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 7.1.1
    • Fix Version/s: Release 7.3.0
    • Component/s: Windows
    • Labels:
      None
    • Story Points:
      8
    • Sprint:
      2018 Sprint 13 SDK

      Description

      Animation transform using 2DMatrix with rotate property should just rotate the view but it actually scales view.

      var win = Ti.UI.createWindow({
          backgroundColor: 'green'
      });
       
      var view = Ti.UI.createView({
          backgroundColor: 'red',
          width: 100,
          height: 100
      }), matrix = Ti.UI.create2DMatrix({
          rotate: 90
      }), animation = Ti.UI.createAnimation({
              transform: matrix,
              duration: 3000
          });
       
      win.addEventListener('click', function () {
          view.animate(animation);
      });
       
      win.add(view);
      win.open();
      

      Expexted: View should rotate at the center position of the view. This should not change view size.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi
                Reporter:
                kiguchi Kota Iguchi
                Reviewer:
                Gary Mathews
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6346
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code