Skip to content

Commit

Permalink
fix missing pivotY testing for transformations.
Browse files Browse the repository at this point in the history
  • Loading branch information
roipeker committed Jun 1, 2021
1 parent b8ce847 commit 4705df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/display/display_object.dart
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@ abstract class GDisplayObject
}
final _hasScale = _scaleX != 1 || _scaleY != 1;
final _hasTranslate = _x != 0 || _y != 0;
final _hasPivot = _pivotX != 0 || _pivotX != 0;
final _hasPivot = _pivotX != 0 || _pivotY != 0;
final _hasSkew = _skewX != 0 || _skewY != 0;
final needSave = _hasTranslate ||
_hasScale ||
Expand Down

0 comments on commit 4705df0

Please sign in to comment.