mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 11:16:51 +02:00
Remove AllowsTransparency which is buggy in XP and poor performance.
This commit is contained in:
@@ -46,6 +46,7 @@ namespace Wox
|
||||
InitializeComponent();
|
||||
Initialized = true;
|
||||
|
||||
|
||||
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
|
||||
|
||||
progressBar.ToolTip = toolTip;
|
||||
@@ -57,9 +58,9 @@ namespace Wox
|
||||
{
|
||||
SetTheme(CommonStorage.Instance.UserSetting.Theme);
|
||||
}
|
||||
catch (IOException)
|
||||
catch (Exception)
|
||||
{
|
||||
SetTheme(CommonStorage.Instance.UserSetting.Theme = "Default");
|
||||
SetTheme(CommonStorage.Instance.UserSetting.Theme = "Dark");
|
||||
}
|
||||
|
||||
SetHotkey(CommonStorage.Instance.UserSetting.Hotkey, OnHotkey);
|
||||
@@ -75,6 +76,8 @@ namespace Wox
|
||||
Plugins.Init();
|
||||
|
||||
InitProgressbarAnimation();
|
||||
//only works for win7+
|
||||
DwmDropShadow.DropShadowToWindow(this);
|
||||
}
|
||||
|
||||
private void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user