mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-11-15 11:38:56 +08:00
Fixed: https://github.com/ArthurSonzogni/FTXUI/issues/792
This commit is contained in:
committed by
ArthurSonzogni
parent
6618d099f5
commit
1d797eeed4
@@ -466,7 +466,10 @@ class InputBase : public ComponentBase, public InputOption {
|
||||
return false;
|
||||
}
|
||||
|
||||
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