Skip to content

Commit

Permalink
support perspective distance setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang committed Apr 5, 2017
1 parent c3ad6a9 commit 3574250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformjs/transform.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@

function Transform(obj, notPerspective) {
if(obj.hasOwnProperty("translateX")) return;
var observeProps = ["translateX", "translateY", "translateZ", "scaleX", "scaleY", "scaleZ", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "originX", "originY", "originZ","perspective"],
var observeProps = ["translateX", "translateY", "translateZ", "scaleX", "scaleY", "scaleZ", "rotateX", "rotateY", "rotateZ", "skewX", "skewY", "originX", "originY", "originZ"],
objIsElement = isElement(obj);
if (!notPerspective) {
observeProps.push("perspective");
Expand Down

0 comments on commit 3574250

Please sign in to comment.