Implement mousewheel scroll for selection window

This commit is contained in:
Asdow
2024-12-25 22:03:03 +02:00
parent a9ab60e5e5
commit 22af6e8ec8
+17
View File
@@ -2954,6 +2954,23 @@ UINT32 WaitForSelectionWindowResponse( void )
}
}
// Mousewheel scroll
if (_WheelValue > 0)
{
while (_WheelValue--)
{
ScrollSelWinUp();
}
}
else
{
while (_WheelValue++)
{
ScrollSelWinDown();
}
}
_WheelValue = 0;
if ( DoWindowSelection( ) )
{
fSelectionWindow = FALSE;