mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Merge pull request #670 from alexanderneu/master
win: Fix total value in SetProgressBar API.
This commit is contained in:
@@ -499,7 +499,7 @@ void NativeWindowViews::SetProgressBar(double progress) {
|
||||
} else if (progress >= 0) {
|
||||
taskbar->SetProgressValue(frame,
|
||||
static_cast<int>(progress * 100),
|
||||
progress);
|
||||
100);
|
||||
}
|
||||
#elif defined(USE_X11)
|
||||
if (unity::IsRunning()) {
|
||||
|
||||
Reference in New Issue
Block a user