mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-11 17:17:42 +03:00
Fixed Node::setScale.
--HG-- branch : dev
This commit is contained in:
@@ -1173,8 +1173,8 @@ Vector2f Node::getScaleCenter() {
|
||||
void Node::setScale( const Vector2f& scale, const OriginPoint& center ) {
|
||||
mScaleOriginPoint = PixelDensity::dpToPx( center );
|
||||
updateOriginPoint();
|
||||
Transformable::setScale( scale.x, scale.y );
|
||||
Transformable::setScaleOrigin( getScaleOriginPoint().x, getScaleOriginPoint().y );
|
||||
setScale( Vector2f( scale.x, scale.y ) );
|
||||
}
|
||||
|
||||
void Node::setScale( const Float& scale, const OriginPoint& center ) {
|
||||
|
||||
Reference in New Issue
Block a user