fix issue #70, change icon color to indicate busy restore

This commit is contained in:
Kang Yu 2020-12-25 18:15:32 -08:00
parent 760874759c
commit 26f7ba297f
4 changed files with 13 additions and 1 deletions

View file

@ -153,6 +153,8 @@ namespace Ninjacrab.PersistentWindows.SystrayShell
{
var thread = new Thread(() =>
{
systrayForm.notifyIconMain.Icon = Properties.Resources.pwIconBusy;
if (silent)
return;
@ -171,6 +173,7 @@ namespace Ninjacrab.PersistentWindows.SystrayShell
static void HideRestoreTip()
{
systrayForm.notifyIconMain.Icon = Properties.Resources.pwIcon;
if (silent || !notification)
return;
systrayForm.notifyIconMain.Visible = false;