From 178d693469458376765a10cd5d7c945279fa05c6 Mon Sep 17 00:00:00 2001 From: Mikael Konradsson Date: Thu, 29 Aug 2019 17:11:58 +0000 Subject: [PATCH] DiskUsage: Fixed scanning status label text color for dark mode. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iac5f1649c0bd6873448f66a544647e37a542d9b2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1756 Reviewed-by: Stephan Aßmus --- src/apps/diskusage/PieView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/diskusage/PieView.cpp b/src/apps/diskusage/PieView.cpp index cdb4942794..f0d7684060 100644 --- a/src/apps/diskusage/PieView.cpp +++ b/src/apps/diskusage/PieView.cpp @@ -386,7 +386,7 @@ PieView::_DrawProgressBar(BRect updateRect) float strWidth = StringWidth(task); bx = (b.left + b.Width() - strWidth) / 2.0; by -= fFontHeight + 2.0 * kSmallVMargin; - SetHighColor(0, 0, 0); + SetHighColor(ui_color(B_PANEL_TEXT_COLOR)); DrawString(task, BPoint(bx, by)); }