File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 22<package >
33 <metadata >
44 <id >ColorPicker</id >
5- <version >1.0.0 </version >
5+ <version >1.0.1 </version >
66 <authors >Martin Chrzan</authors >
77 <owners >Martin Chrzan</owners >
88 <licenseUrl >https://github.com/martinchrzan/ColorPicker/blob/master/LICENSE</licenseUrl >
99 <projectUrl >http://github.com/martinchrzan/ColorPicker</projectUrl >
1010 <!-- <iconUrl></iconUrl>-->
1111 <releaseNotes >
12- The first version
12+ Fixed color window going out of screen when hitting its bottom on monitors that use higher than 100% of scaling.
1313 </releaseNotes >
1414 <requireLicenseAcceptance >false</requireLicenseAcceptance >
1515 <description >Color Picker</description >
Original file line number Diff line number Diff line change @@ -61,9 +61,9 @@ private void SetWindowPosition(Point mousePosition)
6161 windowLeft -= MonitorRightSideDeadZone - ( ( int ) monitorBounds . Right - windowLeft ) ;
6262 }
6363
64- if ( ( windowTop + MonitorBottomSideDeadZone ) > monitorBounds . Bottom )
64+ if ( ( windowTop + MonitorBottomSideDeadZone / dpi . DpiScaleX ) > monitorBounds . Bottom / dpi . DpiScaleX )
6565 {
66- windowTop -= MonitorBottomSideDeadZone - ( ( ( int ) monitorBounds . Bottom - windowTop ) ) ;
66+ windowTop -= MonitorBottomSideDeadZone / dpi . DpiScaleX - ( ( ( int ) monitorBounds . Bottom / dpi . DpiScaleX - windowTop ) ) ;
6767 }
6868
6969 AssociatedObject . Left = windowLeft ;
Original file line number Diff line number Diff line change 5050// You can specify all the values or you can default the Build and Revision Numbers
5151// by using the '*' as shown below:
5252// [assembly: AssemblyVersion("1.0.*")]
53- [ assembly: AssemblyVersion ( "1.0.0 .0" ) ]
54- [ assembly: AssemblyFileVersion ( "1.0.0 .0" ) ]
53+ [ assembly: AssemblyVersion ( "1.0.1 .0" ) ]
54+ [ assembly: AssemblyFileVersion ( "1.0.1 .0" ) ]
5555[ assembly: AssemblyMetadata ( "SquirrelAwareVersion" , "1" ) ]
You can’t perform that action at this time.
0 commit comments