Commit 2d11bf54 authored by Benoît Minisini's avatar Benoît Minisini

Image editor: Do not crash when using the erase tool while pressing SHIFT key.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support.
* BUG: Image editor: Do not crash when using the erase tool while pressing SHIFT key.
parent 4840818e
......@@ -1121,10 +1121,12 @@ Public Sub imvImage_MouseMove()
Case "draw", "erase"
If $bShift And If $sTool = "draw" Then
With GetImagePos()
FImageProperty.SetColor($hImage[.X, .Y])
End With
If $bShift Then
If $sTool = "draw" Then
With GetImagePos()
FImageProperty.SetColor($hImage[.X, .Y])
End With
Endif
Else
If $hLastPoint.X <> $hCurrentPoint.X Or If $hLastPoint.Y <> $hCurrentPoint.Y Then
AddStroke($hCurrentPoint)
......
......@@ -59,7 +59,7 @@ Public Sub Form_Open()
$bDoNotSetName = False
Settings.Read(Me)
'Settings.Read(Me)
If Project.IsSourceDir($sDir) Then
......@@ -294,11 +294,11 @@ Catch
End
Public Sub Form_Close()
Settings.Write(Me)
End
' Public Sub Form_Close()
'
' Settings.Write(Me)
'
' End
Public Sub panType_Arrange()
......
......@@ -6,9 +6,9 @@
18 Kari Laine
18 Jon Nicholson
16 DistroWatch.com
16 David Müller
15 Yvick Miossec
15 Christian Henri Fischer
15 David Müller
12 Leo Barnhoorn
12 Eric Damron
12 Hans-Martin Bundeshund
......@@ -77,6 +77,7 @@
5 Salim Safran
5 Antonio Giovanni Di Motta
5 Michael Perryman
5 Stefan Sprickmann
5 Christopher Bray
4 James Skagg
4 Frank Berg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment