mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Using the mouse wheel with the control key down will zoom faster.
This commit is contained in:
parent
742b1e2e8c
commit
d33f532af3
1 changed files with 1 additions and 1 deletions
|
@ -9735,7 +9735,7 @@ void Project::OnMouseMove(View* view)
|
|||
|
||||
void Project::OnMouseWheel(View* view, float Direction)
|
||||
{
|
||||
ZoomActiveView((int)(10 * Direction));
|
||||
ZoomActiveView((int)((view->mInputState.Control ? 100 : 10) * Direction));
|
||||
}
|
||||
|
||||
// Check if the mouse is over a different area of the overlay and redraw it.
|
||||
|
|
Loading…
Reference in a new issue