Change button color to black

This commit is contained in:
2025-12-23 16:00:18 +08:00
parent 067d35b4e5
commit c2fd549f49

View File

@@ -10,7 +10,7 @@ public:
button->setBorder(2, {0, 0, 0, 255});
button->setRect(x, y, UI::ButtonSize * 6, UI::ButtonSize * 4);
button->setName(name);
button->setText(text, {"SourceHanSansSC-Regular.otf", UI::UI_NORMAL_FONT_SIZE, {255, 255, 255, 255}});
button->setText(text, {"SourceHanSansSC-Regular.otf", UI::UI_NORMAL_FONT_SIZE, {0, 0, 0, 255}});
button->setCallback(callback);
return button;
}