Cleanup: Replace spaces with tabs
This commit is contained in:
parent
94e390c067
commit
e066075a04
1 changed files with 4 additions and 4 deletions
|
@ -157,16 +157,16 @@ bool controller_base::handle_scroll(int mousex, int mousey, int mouse_flags, dou
|
|||
if (mouse_in_window) {
|
||||
if (mousey < scroll_threshold) {
|
||||
dy -= scroll_speed;
|
||||
}
|
||||
}
|
||||
if (mousey > get_display().h() - scroll_threshold) {
|
||||
dy += scroll_speed;
|
||||
}
|
||||
}
|
||||
if (mousex < scroll_threshold) {
|
||||
dx -= scroll_speed;
|
||||
}
|
||||
}
|
||||
if (mousex > get_display().w() - scroll_threshold) {
|
||||
dx += scroll_speed;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// scroll with middle-mouse if enabled
|
||||
|
|
Loading…
Add table
Reference in a new issue