Skip to content

Commit f99c545

Browse files
authored
Update Form1.vb
1 parent 066c6bc commit f99c545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AutoCrispy/AutoCrispy/Form1.vb

+2-2
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ Public Class Form1
533533
If LoadedSettings.ExpertSettings.SeamlessMode > 0 Then
534534
For Each NewImage In NewImages
535535
If File.Exists(LoadedSettings.Paths.OutputPath & "\" & Path.GetFileName(NewImage)) Then
536-
Dim ScaleVal As Integer = LoadedSettings.ExpertSettings.SeamlessScale * 16
536+
Dim ScaleVal As Integer = LoadedSettings.ExpertSettings.SeamlessScale * LoadedSettings.ExpertSettings.SeamlessMargin
537537
Dim SourceImage As Bitmap = Image.FromFile(LoadedSettings.Paths.OutputPath & "\" & Path.GetFileName(NewImage))
538538
Dim TrimmedImage As New Bitmap(SourceImage)
539539
SourceImage.Dispose()
@@ -902,4 +902,4 @@ Public Class Form1
902902

903903
#End Region
904904

905-
End Class
905+
End Class

0 commit comments

Comments
 (0)