Skip to content

Commit

Permalink
don't change scrollbar show/hide status when scrollinging is enabled …
Browse files Browse the repository at this point in the history
…or not
  • Loading branch information
plateaukao committed May 5, 2020
1 parent 82ec9b6 commit ff9e4b5
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -693,8 +693,6 @@ public void onFindResultReceived(int activeMatchOrdinal, int numberOfMatches, bo
}
});

setVerticalScrollBarEnabled(!options.disableVerticalScroll);
setHorizontalScrollBarEnabled(!options.disableHorizontalScroll);
setOnTouchListener(new View.OnTouchListener() {
float m_downX;
float m_downY;
Expand Down Expand Up @@ -1160,12 +1158,6 @@ else if (newOptionsMap.get("clearSessionCache") != null && newOptions.clearSessi
}
}

if (newOptionsMap.get("disableVerticalScroll") != null && options.disableVerticalScroll != newOptions.disableVerticalScroll)
setVerticalScrollBarEnabled(!newOptions.disableVerticalScroll);

if (newOptionsMap.get("disableHorizontalScroll") != null && options.disableHorizontalScroll != newOptions.disableHorizontalScroll)
setHorizontalScrollBarEnabled(!newOptions.disableHorizontalScroll);

options = newOptions;
}

Expand Down

0 comments on commit ff9e4b5

Please sign in to comment.