mirror of
https://github.com/wolfpld/tracy.git
synced 2026-09-01 16:08:30 +00:00
Workaround emscripten scroll issues.
Obviously not the correct fix, but whatever.
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user