mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
Merge pull request #1632 from sunnylanwanjun/fix-db-shake
fix dragonbones shake bug
This commit is contained in:
@@ -239,10 +239,10 @@ void Slot::_updateDisplayData()
|
||||
_pivotY += _helpPoint.y;
|
||||
}
|
||||
|
||||
if (!DragonBones::yDown)
|
||||
{
|
||||
//if (!DragonBones::yDown)
|
||||
//{
|
||||
_pivotY = (_textureData->rotated ? _textureData->region.width : _textureData->region.height) * scale - _pivotY;
|
||||
}
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user