rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.3k stars 864 forks source link

Relative rotation for 'rotate3d' doesn't work #154

Open jjeff opened 10 years ago

jjeff commented 10 years ago

I'm not sure if this is a bug or a feature request, but since relative values work for all of the other rotation options, I thought I'd post here. rotate3d has no effect when given a relative += or -= rotation value.

This test does not work. However removing '+=' makes it work.

    test('Rotate 3D Relative', function($box) {
      $box.transition({
        rotate3d: [1, 1, 0, '+=180deg']
      });
    });