mirror of
https://github.com/greenshot/greenshot
synced 2025-08-19 13:10:00 -07:00
Fixed possible issue when screen layout causes negative coordinates!
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1659 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
cce32fd6b0
commit
8471c79533
1 changed files with 18 additions and 20 deletions
|
@ -438,7 +438,6 @@ namespace Greenshot.Forms {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (cursorPos.X >= 0 || cursorPos.Y >= 0) {
|
|
||||||
if (!conf.OptimizeForRDP) {
|
if (!conf.OptimizeForRDP) {
|
||||||
using (Pen pen = new Pen(Color.LightSeaGreen)) {
|
using (Pen pen = new Pen(Color.LightSeaGreen)) {
|
||||||
pen.DashStyle = DashStyle.Dot;
|
pen.DashStyle = DashStyle.Dot;
|
||||||
|
@ -464,7 +463,6 @@ namespace Greenshot.Forms {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue