Skip to content

Commit

Permalink
wrong prop name used
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed May 20, 2024
1 parent 3f3245b commit d6e2c7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion haxe/ui/backend/PlatformImpl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PlatformImpl extends PlatformBase {
if (Screen.instance._options == null) {
return false;
}
if (Screen.instance._options.throttleMouseWheelPlatforms == null) {
if (Screen.instance._options.useNativeScrollers == null) {
return false;
}
return Screen.instance._options.useNativeScrollers;
Expand Down
2 changes: 1 addition & 1 deletion haxe/ui/backend/ToolkitOptions.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import js.html.Element;

typedef ToolkitOptions = {
?container:Element,
?useNativeScrollers:Bool,
?useNativeScrollers:Null<Bool>,
?throttleMouseWheelPlatforms:Array<String>,
?throttleMouseWheelTimestampDelta:Null<Float>
}

0 comments on commit d6e2c7e

Please sign in to comment.