Workaround emscripten scroll issues.

Obviously not the correct fix, but whatever.
This commit is contained in:
Bartosz Taudul
2026-01-07 23:29:35 +01:00
parent 1413bb4b4d
commit a5e5e8a435

View File

@@ -145,7 +145,9 @@ void View::HandleTimelineMouse( int64_t timespan, const ImVec2& wpos, float w )
else if( io.KeyShift ) mod = 0.5;
mod *= m_verticalScrollMultiplier;
#ifndef __EMSCRIPTEN__
mod *= fabs( wheel );
#endif
if( wheel > 0 )
{