Skip to content

Commit

Permalink
#122 Only crop "standard" images which does not rotate
Browse files Browse the repository at this point in the history
  • Loading branch information
JockeJarre committed Oct 23, 2024
1 parent 7641d10 commit df28ace
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion b2sbackglassserver/b2sbackglassserver/Forms/formBackglass.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,10 @@ Public Class formBackglass
If innerNode.Attributes("OffImage") IsNot Nothing Then
offimage = Base64ToImage(innerNode.Attributes("OffImage").InnerText)
End If
image = CropImageToTransparency(image, offimage, loc, size)
If picboxtype = B2SPictureBox.ePictureBoxType.StandardImage Then
' Events of overlapping pictures get merged #76, crop image transparency
image = CropImageToTransparency(image, offimage, loc, size)
End If
' create new picturebox control
Dim picbox As B2SPictureBox = New B2SPictureBox()
Dim IsOnBackglass As Boolean = (parent = "Backglass")
Expand Down

0 comments on commit df28ace

Please sign in to comment.