Skip to content

Commit f8469ac

Browse files
updated assembly version and change log
1 parent 3b99b1a commit f8469ac

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

SidebarDiagnostics/ChangeLog.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
[
2+
{
3+
"Version": "3.2.1",
4+
"Changes": [
5+
"Fixed a bug where the sidebar would often freeze between updates.",
6+
"Fixed a bug with reserved space in Windows 7.",
7+
"Added an option for Language."
8+
]
9+
},
210
{
311
"Version": "3.2.0",
412
"Changes": [

SidebarDiagnostics/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@
5151
// You can specify all the values or you can default the Build and Revision Numbers
5252
// by using the '*' as shown below:
5353
// [assembly: AssemblyVersion("1.0.*")]
54-
[assembly: AssemblyVersion("3.2.0.0")]
55-
[assembly: AssemblyFileVersion("3.2.0.0")]
54+
[assembly: AssemblyVersion("3.2.1.0")]
55+
[assembly: AssemblyFileVersion("3.2.1.0")]

SidebarDiagnostics/Windows.cs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -839,18 +839,11 @@ public static void GetWorkArea(AppBarWindow window, out int screen, out DockEdge
839839

840840
Monitor[] _monitors = GetMonitors();
841841

842-
Monitor _primary = _monitors.GetPrimary();
843-
844-
double _primaryScaleX = _primary.ScaleX;
845-
double _primaryScaleY = _primary.ScaleY;
846-
847-
double _primaryInverseX = _primary.InverseScaleX;
848-
double _primaryInverseY = _primary.InverseScaleY;
849-
842+
Monitor _primary = _monitors.GetPrimary();
850843
Monitor _active = GetMonitorFromIndex(screen, _monitors);
851844

852845
windowWA = Windows.WorkArea.FromRECT(_active.WorkArea);
853-
windowWA.Scale(_primaryInverseX, _primaryInverseY);
846+
windowWA.Scale(_primary.InverseScaleX, _primary.InverseScaleY);
854847

855848
double _modifyX = 0d;
856849
double _modifyY = 0d;
@@ -885,7 +878,7 @@ public static void GetWorkArea(AppBarWindow window, out int screen, out DockEdge
885878

886879
appbarWA.Offset(_modifyX, _modifyY);
887880

888-
double _appbarWidth = Framework.Settings.Instance.UseAppBar ? windowWA.Width * _primaryScaleX : 0;
881+
double _appbarWidth = Framework.Settings.Instance.UseAppBar ? windowWA.Width * _primary.ScaleX : 0;
889882

890883
appbarWA.SetWidth(edge, _appbarWidth);
891884

0 commit comments

Comments
 (0)