Skip to content

Commit efb5c7a

Browse files
committed
use "is IScroller" rather than isScroller
1 parent 0b5ad7c commit efb5c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

haxe/ui/backend/ComponentImpl.hx

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ class ComponentImpl extends ComponentBase {
128128
}
129129

130130
private function createElement() {
131-
if (this.isScroller) {
131+
if ((this is IScroller)) {
132132
if (element == null) {
133133
element = Browser.document.createElement(elementType);
134134
}

0 commit comments

Comments
 (0)