mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-25 04:39:25 +01: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