You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been playing around with trying to have a desktop feature in which when you mouse over the indicator will automatically pop up and follow the mouse without having to click and hold. I added a bool called mouseHover = false by default. I almost have it working, but its behavior is quite peculiar, as you can see in the link below.
In this gif I am not clicking the mouse at all, the bubble keeps going up and down on its own, I am simply moving the mouse with snap off. At first when I mouseover, it goes at probably 20 times a second quickly than repeats slowly https://i.imgur.com/1bLcMuc.gifv
I am not quite sure what needs to be changed. This is my first project trying to learn Dart/Flutter, I only started using them a week or two so ago, so I feel I just don't have the experience yet to narrow it down. Any input on it would be greatly appreciated.
Technically, no? The code above was code I was trying to implement myself but was hoping perhaps you might have some insight as to what I might be able to do to keep the bubble from repeatedly appearing and disappearing on its own. If not, I understand, this is something custom I really wanted personally.
I was just trying to use the listener that you already had in the graph code to listen for OnMouseEnterEvent and make the bubble appear and then follow the mouse the entire time until OnMouseExitEvent is called, then it would hide it.
if you check the code, the method _onDisplayIndicator has the _animationController.forward , for that reason you see the animation of the bubble, you can create another method and remove that line.
I have been playing around with trying to have a desktop feature in which when you mouse over the indicator will automatically pop up and follow the mouse without having to click and hold. I added a bool called mouseHover = false by default. I almost have it working, but its behavior is quite peculiar, as you can see in the link below.
In this gif I am not clicking the mouse at all, the bubble keeps going up and down on its own, I am simply moving the mouse with snap off. At first when I mouseover, it goes at probably 20 times a second quickly than repeats slowly
https://i.imgur.com/1bLcMuc.gifv
I am not quite sure what needs to be changed. This is my first project trying to learn Dart/Flutter, I only started using them a week or two so ago, so I feel I just don't have the experience yet to narrow it down. Any input on it would be greatly appreciated.
Thanks,
-MH
The text was updated successfully, but these errors were encountered: