File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1226,7 +1226,7 @@ class ScrollViewEvents extends haxe.ui.events.Events {
12261226 scroll = _scrollview .findComponent (secondaryType , false );
12271227 }
12281228
1229- if (_scrollview .autoHideScrolls == true && _fadeTimer == null ) {
1229+ if (_scrollview .autoHideScrolls == true && _fadeTimer == null && scroll != null ) {
12301230 scroll .fadeIn ();
12311231 }
12321232 if (_scrollview .autoHideScrolls == true ) {
@@ -1235,7 +1235,9 @@ class ScrollViewEvents extends haxe.ui.events.Events {
12351235 _fadeTimer = null ;
12361236 }
12371237 _fadeTimer = new Timer (300 , function () {
1238- scroll .fadeOut ();
1238+ if (scroll != null ) {
1239+ scroll .fadeOut ();
1240+ }
12391241 _fadeTimer .stop ();
12401242 _fadeTimer = null ;
12411243 });
You can’t perform that action at this time.
0 commit comments