mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 09:03:44 -07:00
BUG-1682: This fixes the tail location while drawing, and also reduces the drawing bounds to that which it should be. (includes a few cleanups)
This commit is contained in:
parent
4fe74a240b
commit
49193644a8
6 changed files with 340 additions and 289 deletions
|
@ -71,7 +71,7 @@ namespace GreenshotBoxPlugin {
|
|||
/// <param name="postMessage"></param>
|
||||
/// <returns>string with the file content</returns>
|
||||
public static string PostAndReturn(Uri url, string postMessage) {
|
||||
HttpWebRequest webRequest = (HttpWebRequest)NetworkHelper.CreateWebRequest(url);
|
||||
HttpWebRequest webRequest = NetworkHelper.CreateWebRequest(url);
|
||||
webRequest.Method = "POST";
|
||||
webRequest.KeepAlive = true;
|
||||
webRequest.Credentials = CredentialCache.DefaultCredentials;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue