avm2: Fix GraphicsPath.cubicCurveTo() [API()] version

Turns out, the docs were wrong again.
This commit is contained in:
TÖRÖK Attila 2024-08-20 21:47:05 +02:00
parent d824a02664
commit cd4eeb238f
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ package flash.display {
this.winding = winding; this.winding = winding;
} }
[API("694")] [API("674")] // The online docs say 694, but that's a lie. This is the correct number from playerglobal.swc.
public function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void { public function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void {
if (commands == null) { if (commands == null) {
commands = new Vector.<int>(); commands = new Vector.<int>();