mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-15 11:26:36 +12:00
Ctrl + mouse wheel will change magnifier pixel count
This commit is contained in:
parent
11c6f43f9e
commit
4e05c6748b
|
@ -686,6 +686,18 @@ private void form_MouseWheel(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
CurrentShapeType = CurrentShapeType.Next<ShapeType>();
|
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()
|
public void Update()
|
||||||
|
|
Loading…
Reference in a new issue