mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed disappearing back button in top bar from admin log section.
This commit is contained in:
@@ -92,7 +92,6 @@ void BackButton::paintEvent(QPaintEvent *e) {
|
||||
updateCache();
|
||||
|
||||
auto p = Painter(this);
|
||||
p.setOpacity(_opacity);
|
||||
|
||||
p.fillRect(e->rect(), st::profileBg);
|
||||
st::topBarBack.paint(
|
||||
@@ -100,6 +99,7 @@ void BackButton::paintEvent(QPaintEvent *e) {
|
||||
st::historyAdminLogTopBarLeft,
|
||||
(st::topBarHeight - st::topBarBack.height()) / 2,
|
||||
width());
|
||||
p.setOpacity(_opacity);
|
||||
|
||||
const auto textHeight = st::semiboldFont->height;
|
||||
const auto subtextHeight = st::dialogsTextFont->height;
|
||||
|
||||
Reference in New Issue
Block a user