mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 23:12:34 +01:00
Fix missing letters in "Binary image compare" - thx
Flitskikker :) Fix #2612
This commit is contained in:
parent
cb41c78c83
commit
067563d853
@ -750,10 +750,15 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
if (right && points != null)
|
||||
{
|
||||
int add = FindMaxX(points, x) - x;
|
||||
width = width + add;
|
||||
width += add;
|
||||
subtractSpacePixels = add;
|
||||
}
|
||||
|
||||
if (clean && startX + 1 < x)
|
||||
{
|
||||
width++;
|
||||
}
|
||||
|
||||
if (points == null)
|
||||
{
|
||||
width++;
|
||||
@ -833,6 +838,7 @@ namespace Nikse.SubtitleEdit.Logic
|
||||
var points = new List<Point>();
|
||||
int y = 0;
|
||||
int maxSlide = bmp.Height / 4;
|
||||
|
||||
while (y < bmp.Height)
|
||||
{
|
||||
if (bmp.GetAlpha(x, y) > 100)
|
||||
|
Loading…
Reference in New Issue
Block a user