Skip to content

Commit

Permalink
avm2: StyleSheet should extend EventDispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-McSweeney committed Jul 25, 2024
1 parent 8bfb50f commit a4c6c35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/avm2/globals/flash/text/StyleSheet.as
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package flash.text {
public dynamic class StyleSheet {
import flash.events.EventDispatcher;

public dynamic class StyleSheet extends EventDispatcher {
// Shallow copies of the original style objects. Not used by Ruffle itself, just for getStyle()
private var _styles: Object = {};

Expand Down

0 comments on commit a4c6c35

Please sign in to comment.