Skip to content

Commit

Permalink
avm2: Stub flash.display.Stage.setAspectRatio
Browse files Browse the repository at this point in the history
  • Loading branch information
Fancy2209 authored and kjarosh committed Jul 22, 2024
1 parent f978a0c commit ead80a9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/src/avm2/globals/flash/display/Stage.as
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
package flash.display {
import __ruffle__.stub_method;
import __ruffle__.stub_getter;
import __ruffle__.stub_setter;
import flash.accessibility.AccessibilityProperties;
Expand Down Expand Up @@ -278,5 +279,10 @@ package flash.display {
stub_setter("flash.display.Stage", "mouseLock");
this._mouseLock = value;
}

[API("668")]
public function setAspectRatio(newAspectRatio:String):void {
stub_method("flash.display.Stage", "setAspectRatio");
}
}
}

0 comments on commit ead80a9

Please sign in to comment.