mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/792
This commit is contained in:
@@ -174,7 +174,10 @@ class SliderBase : public ComponentBase {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!event.mouse().IsPressed()) {
|
||||
if (event.mouse().button != Mouse::Left) {
|
||||
return false;
|
||||
}
|
||||
if (event.mouse().motion != Mouse::Pressed) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user