Merge branch 'master' into net6

This commit is contained in:
2023-08-26 20:35:21 +02:00
10 changed files with 193 additions and 87 deletions

View File

@@ -644,7 +644,7 @@ Public Class PaintingControl
End Sub
Private Sub CheckMouseWheel(sender As Object, e As MouseEventArgs) Handles Me.MouseWheel
If pressedControl Then
If pressedAlt Then
Dim val As Single = e.Delta / 120 / 10
ZoomFactor = New SizeF(Math.Max(ZoomFactor.Width + val, 0.25), Math.Max(ZoomFactor.Height + val, 0.25))
Refresh()