transparent splash logo & fix tab widget color glitch (#2256)

This commit is contained in:
zxkmm 2024-09-23 01:40:54 +08:00 committed by GitHub
parent 9390317a75
commit 42233e62df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 327 additions and 319 deletions

View file

@ -52,7 +52,7 @@ void Tab::paint(Painter& painter) {
painter.fill_rectangle({rect.left(), rect.top(), rect.width() - 8, rect.height()}, color);
if (!highlighted())
painter.draw_hline({rect.left(), rect.top()}, rect.width() - 9, Theme::getInstance()->fg_light->foreground);
painter.draw_hline({rect.left(), rect.top()}, rect.width() - 9, Theme::getInstance()->bg_light->background);
painter.draw_bitmap(
{rect.right() - 8, rect.top()},