mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[pdf] Fix bug #80312
This commit is contained in:
@ -10617,6 +10617,11 @@ var CPresentation = CPresentation || function(){};
|
||||
}
|
||||
};
|
||||
|
||||
let oAcitveObj = controller.document.GetActiveObject();
|
||||
if (oAcitveObj && oAcitveObj.IsAnnot() && oAcitveObj.IsFreeText() && oAcitveObj.IsInTextBox()) {
|
||||
nAngle -= oAcitveObj.GetRotate();
|
||||
}
|
||||
|
||||
const normalized = ((nAngle % 360) + 360) % 360;
|
||||
const finalDir = rotateMap[normalized][direction];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user