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:
RKrom 2014-11-30 18:18:33 +01:00
parent 4fe74a240b
commit 49193644a8
6 changed files with 340 additions and 289 deletions

View file

@ -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;