mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Fix mouse wheel on checkbox. (#205)
This commit is contained in:
@@ -103,9 +103,6 @@ class RadioboxBase : public ComponentBase {
|
||||
}
|
||||
|
||||
bool OnMouseEvent(Event event) {
|
||||
if (!CaptureMouse(event))
|
||||
return false;
|
||||
|
||||
if (event.mouse().button == Mouse::WheelDown ||
|
||||
event.mouse().button == Mouse::WheelUp) {
|
||||
return OnMouseWheel(event);
|
||||
|
Reference in New Issue
Block a user