diff options
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index caaec19b0..f76c9610e 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -47,17 +47,17 @@ ProgressBar::ProgressBar(const Widget2 *const widget, float progress, mSkin(nullptr), mProgress(progress), mProgressToGo(progress), - mSmoothProgress(true), - mProgressPalette(color), mColor(Theme::getProgressColor(color >= 0 ? color : 0, mProgress)), mColorToGo(mColor), - mSmoothColorChange(true), + mOutlineColor(getThemeColor(Theme::OUTLINE)), mText(), mVertexes(new ImageCollection), - mRedraw(true), + mProgressPalette(color), mPadding(2), mFillPadding(3), - mOutlineColor(getThemeColor(Theme::OUTLINE)) + mSmoothProgress(true), + mSmoothColorChange(true), + mRedraw(true) { // The progress value is directly set at load time: if (mProgress > 1.0f || mProgress < 0.0f) |