diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-06-12 15:54:20 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-06-12 20:13:03 +0200 |
commit | 6fd3eb533998c8f63430a43767b2a52aa5e71e3f (patch) | |
tree | 6fdc4eee262dd7e51520cdd491c18cad4826095f /sw | |
parent | a38bd8bfa95e8f86e88f43ad569e849db0c49eda (diff) |
tdf#95173 vcl: fix partially drawn progressbar widget
Commit e6c2951f1957224aa0e7dc97b33b0450c41f92f7 (delegate RenderContext,
invalidate - prgsbar, scrbar, 2015-04-29) switched
ProgressBar::SetValue() from direct partial paint to invalidate + full
paint. This means that ProgressBar::ImplDrawProgress() has to paint the
whole progressbar, not only just the delta between the old and the new
value.
Remove the not needed mnPreviousPercent member and just paint from 0 to
the percent value, like we did before the above commit, that does the
needed full paint.
Change-Id: Id45ee918248b5fa6647bd766a49b707da1e5846f
Reviewed-on: https://gerrit.libreoffice.org/73886
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions