Found a scroll problem in the CropContainer, this might be similar...

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1757 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-04-05 11:52:04 +00:00
commit 1beb0656f4

View file

@ -241,12 +241,16 @@ namespace Greenshot.Drawing {
int safetymargin = 10;
return new Rectangle((myBounds.Left + Left) - (safetymargin+lineThickness), (myBounds.Top + Top) - (safetymargin+lineThickness), myBounds.Width + (2*(lineThickness+safetymargin)), myBounds.Height + (2*(lineThickness+safetymargin)));
} else {
return parent.Bounds;
return new Rectangle(0, 0, parent.Width, parent.Height);
}
}
}
// FreehandContainer are regarded equal if they are of the same type and their paths are equal.
/// <summary>
/// FreehandContainer are regarded equal if they are of the same type and their paths are equal.
/// </summary>
/// <param name="obj"></param>
/// <returns></returns>
public override bool Equals(object obj) {
bool ret = false;
if(obj != null && GetType().Equals(obj.GetType())) {