Skip to content

Commit

Permalink
Update scrollbar as of the latest stable release (bdlukaa#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa committed May 19, 2021
1 parent 64607dc commit bb6c125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Unofficial implementation of Fluent UI for [Flutter](flutter.dev). It's written

### You can check the web version of it [here](https://bdlukaa.github.io/fluent_ui/)

Projects using this library should use the stable channel of Flutter

### Content

- [Motivation](#motivation)
Expand Down
2 changes: 1 addition & 1 deletion lib/src/controls/utils/scrollbar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class _ScrollbarState extends RawScrollbarState<Scrollbar> {
void handleHover(PointerHoverEvent event) async {
super.handleHover(event);
// Check if the position of the pointer falls over the painted scrollbar
if (isPointerOverScrollbar(event.position)) {
if (isPointerOverScrollbar(event.position, event.kind)) {
// Pointer is hovering over the scrollbar
setState(() {
_hoverIsActive = true;
Expand Down

0 comments on commit bb6c125

Please sign in to comment.