Browse Source

Remove unnecessary assignment of InfoLabel::color.

tags/v2.3.0
Andrew Belt 1 year ago
parent
commit
83bd4013fa
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      src/app/MenuBar.cpp

+ 0
- 3
src/app/MenuBar.cpp View File

@@ -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);
}



Loading…
Cancel
Save