mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Zoom by a fixed percentage of the current zoom level. Feels better.
This commit is contained in:
parent
778eec1188
commit
0ede4a27d2
1 changed files with 2 additions and 2 deletions
|
@ -179,11 +179,11 @@ private void onMouseWheel(object sender, MouseEventArgs e)
|
|||
}
|
||||
if (e.Delta > 0)
|
||||
{
|
||||
ZoomFactor += 0.1F;
|
||||
ZoomFactor *= 1.1F;
|
||||
}
|
||||
else if (ZoomFactor > 0.2)
|
||||
{
|
||||
ZoomFactor -= 0.1F;
|
||||
ZoomFactor /= 1.1F;
|
||||
}
|
||||
UpdateTitle();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue