From 83bd4013fa5614db3a96a293202b1e2e07999d37 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 8 Mar 2023 05:23:42 -0500 Subject: [PATCH] Remove unnecessary assignment of InfoLabel::color. --- src/app/MenuBar.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/MenuBar.cpp b/src/app/MenuBar.cpp index cec3358a..20ee286a 100644 --- a/src/app/MenuBar.cpp +++ b/src/app/MenuBar.cpp @@ -936,8 +936,6 @@ struct InfoLabel : ui::Label { text += APP_NAME + " " + APP_EDITION_NAME + " " + APP_VERSION + " " + APP_OS_NAME + " " + APP_CPU_NAME; - color = bndGetTheme()->menuTheme.textColor; - Label::step(); } }; @@ -982,7 +980,6 @@ struct MenuBar : widget::OpaqueWidget { infoLabel = new InfoLabel; infoLabel->box.size.x = 600; infoLabel->alignment = ui::Label::RIGHT_ALIGNMENT; - infoLabel->color.a = 0.5; layout->addChild(infoLabel); }