mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
This should fix most icon scaling issues
Improved the IniReader a bit and replaced some old code.
This commit is contained in:
parent
41baf27d84
commit
4a958be8b5
35 changed files with 2767 additions and 301 deletions
|
@ -549,7 +549,7 @@ namespace Greenshot {
|
|||
/// <param name="e"></param>
|
||||
private void OnIconSizeChanged(object sender, PropertyChangedEventArgs e) {
|
||||
if (e.PropertyName == "IconSize") {
|
||||
contextMenu.ImageScalingSize = coreConfiguration.IconSize;
|
||||
contextMenu.ImageScalingSize = coreConfiguration.ScaledIconSize;
|
||||
string ieExePath = PluginUtils.GetExePath("iexplore.exe");
|
||||
if (!string.IsNullOrEmpty(ieExePath)) {
|
||||
contextmenu_captureie.Image = PluginUtils.GetCachedExeIcon(ieExePath, 0);
|
||||
|
@ -614,7 +614,7 @@ namespace Greenshot {
|
|||
/// <returns>true if onedrive has hotkeys turned on</returns>
|
||||
private static bool IsOneDriveBlockingHotkey()
|
||||
{
|
||||
if (!Environment.OSVersion.IsWindows10())
|
||||
if (!WindowsVersion.IsWindows10OrLater)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue