fix slider option tooltip staying visible when releasing mouse button
and mouse is not hovering the option anymore
This commit is contained in:
parent
7fad87cf45
commit
7c0ace50cc
|
@ -835,9 +835,12 @@ public class OptionsOverlay implements ResolutionChangedListener {
|
|||
wasPressed = false;
|
||||
|
||||
selectedOption = null;
|
||||
if (isAdjustingSlider && listener != null) {
|
||||
if (isAdjustingSlider) {
|
||||
if (listener != null) {
|
||||
listener.onSaveOption(hoverOption);
|
||||
}
|
||||
updateHoverOption(x, y);
|
||||
}
|
||||
isAdjustingSlider = false;
|
||||
sliderOptionLength = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user