mirror of
https://github.com/leozide/leocad
synced 2025-01-30 20:34:56 +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)
|
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.
|
// Check if the mouse is over a different area of the overlay and redraw it.
|
||||||
|
|
Loading…
Add table
Reference in a new issue