diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-22 20:06:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-22 20:06:24 +0300 |
commit | 72e8984f5c73bd960a0a0f910e9f2bf06cc51334 (patch) | |
tree | bc9f1934ec5a6b47748bd214c06cf285bf3a41ff /src/dirs.cpp | |
parent | 7e5b30fb4d1e18c332ce43ea6b2a55794043f0a9 (diff) | |
download | plus-72e8984f5c73bd960a0a0f910e9f2bf06cc51334.tar.gz plus-72e8984f5c73bd960a0a0f910e9f2bf06cc51334.tar.bz2 plus-72e8984f5c73bd960a0a0f910e9f2bf06cc51334.tar.xz plus-72e8984f5c73bd960a0a0f910e9f2bf06cc51334.zip |
Fix unpack progress bar on Android.
Diffstat (limited to 'src/dirs.cpp')
-rw-r--r-- | src/dirs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirs.cpp b/src/dirs.cpp index ce91c89b0..34d69d9bd 100644 --- a/src/dirs.cpp +++ b/src/dirs.cpp @@ -79,7 +79,7 @@ static void updateProgress(int cnt) const int h = mainGraphics->mHeight; mainGraphics->setColor(Color(255, 255, 255)); const int maxSize = mainGraphics->mWidth - 100; - const int width = maxSize * progress / 450; + const int width = maxSize * progress / 50; mainGraphics->fillRectangle(Rect(50, h - 100, width, 50)); mainGraphics->updateScreen(); } |