mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-04 12:14:45 +13:00
Ctrl + mouse wheel will change magnifier pixel count
This commit is contained in:
parent
11c6f43f9e
commit
4e05c6748b
1 changed files with 12 additions and 0 deletions
|
@ -686,6 +686,18 @@ private void form_MouseWheel(object sender, MouseEventArgs e)
|
|||
{
|
||||
CurrentShapeType = CurrentShapeType.Next<ShapeType>();
|
||||
}
|
||||
|
||||
if (Control.ModifierKeys.HasFlag(Keys.Control))
|
||||
{
|
||||
if (e.Delta > 0)
|
||||
{
|
||||
if (config.MagnifierPixelCount < 41) config.MagnifierPixelCount += 2;
|
||||
}
|
||||
else if (e.Delta < 0)
|
||||
{
|
||||
if (config.MagnifierPixelCount > 2) config.MagnifierPixelCount -= 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Update()
|
||||
|
|
Loading…
Reference in a new issue