mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-11 04:52:54 +02:00
Merge pull request #13 from richardletshacks/main
Show progress in taskbar
This commit is contained in:
@@ -110,7 +110,9 @@ namespace Flowframes
|
||||
|
||||
public void SetProgress(int percent)
|
||||
{
|
||||
longProgBar.Value = percent.Clamp(0, 100);
|
||||
percent = percent.Clamp(0, 100);
|
||||
TaskbarManager.Instance.SetProgressValue(percent, 100);
|
||||
longProgBar.Value = percent;
|
||||
longProgBar.Refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user