win: Fix total value in SetProgressBar API.
This commit is contained in:
parent
50ea0f0b45
commit
6c9769999b
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ void NativeWindowViews::SetProgressBar(double progress) {
|
||||||
} else if (progress >= 0) {
|
} else if (progress >= 0) {
|
||||||
taskbar->SetProgressValue(frame,
|
taskbar->SetProgressValue(frame,
|
||||||
static_cast<int>(progress * 100),
|
static_cast<int>(progress * 100),
|
||||||
progress);
|
100);
|
||||||
}
|
}
|
||||||
#elif defined(USE_X11)
|
#elif defined(USE_X11)
|
||||||
if (unity::IsRunning()) {
|
if (unity::IsRunning()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue