Work around the blink of top-left logo

This commit is contained in:
Jean Pierre Cimalando 2021-04-14 11:24:45 +02:00
parent 887ff26220
commit ae3aff7ea0

View file

@ -644,7 +644,7 @@ void Editor::Impl::createFrameContents()
return box;
};
auto createAboutButton = [this, &iconShaded](const CRect& bounds, int tag, const char*, CHoriTxtAlign, int) {
return new CKickButton(bounds, this, tag, iconShaded);
return new CKickButton(bounds, this, tag, 0.0f, iconShaded);
};
auto createLabel = [this, &palette](const CRect& bounds, int, const char* label, CHoriTxtAlign align, int fontsize) {
CTextLabel* lbl = new CTextLabel(bounds, label);