Skip to content

Commit

Permalink
2.4.0.3 - Region Select fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinkendall committed Feb 4, 2022
1 parent 916db80 commit 980bbae
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 15 deletions.
6 changes: 3 additions & 3 deletions AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj
Original file line number Diff line number Diff line change
Expand Up @@ -233,15 +233,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Auto Screen Capture"
"ProductCode" = "8:{D06FA6DB-6096-402D-9416-E5FE5AAECC07}"
"PackageCode" = "8:{3039136F-1503-4E94-AEDD-7237CB6CF1F2}"
"ProductCode" = "8:{43F45970-584D-4C76-ADCC-610AB994D42D}"
"PackageCode" = "8:{7FF98C6C-11AC-4809-9EC7-4AC126036611}"
"UpgradeCode" = "8:{6B29B7BC-0101-4495-B28C-26B6D3CDCC02}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:2.4.02"
"ProductVersion" = "8:2.4.03"
"Manufacturer" = "8:Gavin Kendall"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:https://sourceforge.net/p/autoscreen/tickets/"
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.4.0.2")]
[assembly: AssemblyFileVersion("2.4.0.2")]
[assembly: AssemblyVersion("2.4.0.3")]
[assembly: AssemblyFileVersion("2.4.0.3")]
[assembly: NeutralResourcesLanguageAttribute("en-CA")]
2 changes: 1 addition & 1 deletion app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<assemblyIdentity
type="win32"
name="GavinKendall.AutoScreenCapture"
version="2.4.0.2"/>
version="2.4.0.3"/>
<asmv3:application>
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True/PM</dpiAware>
Expand Down
2 changes: 1 addition & 1 deletion interface/about/FormAbout.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions interface/region_select/FormRegionSelectWithMouse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ public void LoadCanvas(bool sendToClipboard)
Top = 0;
Left = 0;

int width = 0;
int height = 0;
Width = 0;
Height = 0;

foreach (System.Windows.Forms.Screen windowsScreen in System.Windows.Forms.Screen.AllScreens)
{
Expand All @@ -116,21 +116,19 @@ public void LoadCanvas(bool sendToClipboard)
Top = windowsScreen.Bounds.Y;
}

width += windowsScreen.Bounds.Width;
height += windowsScreen.Bounds.Height;
Width += windowsScreen.Bounds.Width;
Height += windowsScreen.Bounds.Height;
}

WindowState = FormWindowState.Normal;
Width = width;
Height = height;

Hide();

_bitmapSource = new Bitmap(width, height);
_bitmapSource = new Bitmap(Width, Height);

using (Graphics graphics = Graphics.FromImage(_bitmapSource))
{
graphics.CopyFromScreen(0, 0, 0, 0, _bitmapSource.Size);
graphics.CopyFromScreen(Top, Left, Top, Left, _bitmapSource.Size);

using (MemoryStream s = new MemoryStream())
{
Expand Down
1 change: 1 addition & 0 deletions settings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ public void Load(FileSystem fileSystem)
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.7.0")); // Attempting to fix bug with region select not working on multiple displays.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.0")); // Release of 2.4 "Blade"
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.1")); // Region Select fix.
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.2")); // Region Select fix.

Application = new SettingCollection()
{
Expand Down

0 comments on commit 980bbae

Please sign in to comment.