mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 00:26:01 +08:00
ComboBox: Fix for scrolling over a dropdown.
It doesn't need to propagate the MouseWhile event to the parent.
This commit is contained in:
parent
b0673265eb
commit
00a08831a7
@ -294,7 +294,6 @@ void ComboBox::mouseDown(wxMouseEvent &event)
|
||||
|
||||
void ComboBox::mouseWheelMoved(wxMouseEvent &event)
|
||||
{
|
||||
event.Skip();
|
||||
if (drop_down) return;
|
||||
auto delta = ((event.GetWheelRotation() < 0) == event.IsWheelInverted()) ? -1 : 1;
|
||||
unsigned int n = GetSelection() + delta;
|
||||
|
Loading…
x
Reference in New Issue
Block a user