Skip to content

Commit 980bbae

Browse files
committed
2.4.0.3 - Region Select fix.
1 parent 916db80 commit 980bbae

File tree

6 files changed

+14
-15
lines changed

6 files changed

+14
-15
lines changed

AutoScreenCaptureSetup/AutoScreenCaptureSetup.vdproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,15 +233,15 @@
233233
{
234234
"Name" = "8:Microsoft Visual Studio"
235235
"ProductName" = "8:Auto Screen Capture"
236-
"ProductCode" = "8:{D06FA6DB-6096-402D-9416-E5FE5AAECC07}"
237-
"PackageCode" = "8:{3039136F-1503-4E94-AEDD-7237CB6CF1F2}"
236+
"ProductCode" = "8:{43F45970-584D-4C76-ADCC-610AB994D42D}"
237+
"PackageCode" = "8:{7FF98C6C-11AC-4809-9EC7-4AC126036611}"
238238
"UpgradeCode" = "8:{6B29B7BC-0101-4495-B28C-26B6D3CDCC02}"
239239
"AspNetVersion" = "8:4.0.30319.0"
240240
"RestartWWWService" = "11:FALSE"
241241
"RemovePreviousVersions" = "11:TRUE"
242242
"DetectNewerInstalledVersion" = "11:TRUE"
243243
"InstallAllUsers" = "11:FALSE"
244-
"ProductVersion" = "8:2.4.02"
244+
"ProductVersion" = "8:2.4.03"
245245
"Manufacturer" = "8:Gavin Kendall"
246246
"ARPHELPTELEPHONE" = "8:"
247247
"ARPHELPLINK" = "8:https://sourceforge.net/p/autoscreen/tickets/"

Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("2.4.0.2")]
36-
[assembly: AssemblyFileVersion("2.4.0.2")]
35+
[assembly: AssemblyVersion("2.4.0.3")]
36+
[assembly: AssemblyFileVersion("2.4.0.3")]
3737
[assembly: NeutralResourcesLanguageAttribute("en-CA")]

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<assemblyIdentity
44
type="win32"
55
name="GavinKendall.AutoScreenCapture"
6-
version="2.4.0.2"/>
6+
version="2.4.0.3"/>
77
<asmv3:application>
88
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
99
<dpiAware>True/PM</dpiAware>

interface/about/FormAbout.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

interface/region_select/FormRegionSelectWithMouse.cs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ public void LoadCanvas(bool sendToClipboard)
101101
Top = 0;
102102
Left = 0;
103103

104-
int width = 0;
105-
int height = 0;
104+
Width = 0;
105+
Height = 0;
106106

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

119-
width += windowsScreen.Bounds.Width;
120-
height += windowsScreen.Bounds.Height;
119+
Width += windowsScreen.Bounds.Width;
120+
Height += windowsScreen.Bounds.Height;
121121
}
122122

123123
WindowState = FormWindowState.Normal;
124-
Width = width;
125-
Height = height;
126124

127125
Hide();
128126

129-
_bitmapSource = new Bitmap(width, height);
127+
_bitmapSource = new Bitmap(Width, Height);
130128

131129
using (Graphics graphics = Graphics.FromImage(_bitmapSource))
132130
{
133-
graphics.CopyFromScreen(0, 0, 0, 0, _bitmapSource.Size);
131+
graphics.CopyFromScreen(Top, Left, Top, Left, _bitmapSource.Size);
134132

135133
using (MemoryStream s = new MemoryStream())
136134
{

settings/Settings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ public void Load(FileSystem fileSystem)
250250
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.3.7.0")); // Attempting to fix bug with region select not working on multiple displays.
251251
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.0")); // Release of 2.4 "Blade"
252252
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.1")); // Region Select fix.
253+
_versionCollection.Add(new Version(CODENAME_BOOMBAYAH, "2.4.0.2")); // Region Select fix.
253254

254255
Application = new SettingCollection()
255256
{

0 commit comments

Comments
 (0)