Skip to content

Commit

Permalink
UI: increase scrolling distance/speed
Browse files Browse the repository at this point in the history
  • Loading branch information
black-sliver committed Jan 24, 2024
1 parent 5f3b4b1 commit 03dc337
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uilib/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ bool Ui::render()
}
case SDL_MOUSEWHEEL: {
EVENT_LOCK(this);
int x = ev.wheel.x * 16;
int y = ev.wheel.y * 16;
int x = ev.wheel.x * 64;
int y = ev.wheel.y * 64;
unsigned mod = 0;
auto winIt = _windows.find(ev.motion.windowID);
if (winIt != _windows.end()) {
Expand Down

0 comments on commit 03dc337

Please sign in to comment.