Main menu => Level Creator; mouse over the playfield or the drawing elements palette; operate scroll wheel; mouse over playfield, hold down Shift + operate scroll wheel.
Expected: playfield or drawing elements palette scrolls up or down; playfield scrolls horizontally.
Actual: in SDL1 build, works fine; in SDL2 build, nothing happens.
"HMMM", I thought, "it must be this code in src/events.c, somehow getting wrong signals from SDL2:"
Code: Select all
/* do not use scroll wheel button events for anything other than gadgets */
if (IS_WHEEL_BUTTON(button_nr))
return;