Skip to content

Commit

Permalink
Fix missing event instantiation
Browse files Browse the repository at this point in the history
  • Loading branch information
rugoncalves committed Nov 13, 2023
1 parent 040ef39 commit eadd049
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ namespace OSFramework.OSUI.Event.DOMEvents.Listeners {
return new OrientationChange();
case Type.ScreenOnScroll:
return new ScreenOnScroll();
case Type.WindowMessage:
return new WindowMessage();
default:
throw new Error(`The listener ${listenerType} is not supported.`);
}
Expand Down

0 comments on commit eadd049

Please sign in to comment.