mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-08 12:43:52 +00:00
Dialog styles moved from basic.style to dialogs.style.
Many minor design improvements in the new profiles. New drafts design in the dialogs list: no icon, red badge. Verified checkbox added to the new profile implementation. Drafts saving to cloud is delayed for 1 second when switching chats. Before quitting the app makes an attempt to save drafts (timeout 1.5s).
This commit is contained in:
@@ -351,7 +351,7 @@ void Checkbox::paintEvent(QPaintEvent *e) {
|
||||
p.setRenderHint(QPainter::HighQualityAntialiasing, false);
|
||||
|
||||
if (checked > 0) {
|
||||
p.drawSpriteCenter(_checkRect, _st.checkIcon);
|
||||
_st.checkIcon.paint(p, QPoint(0, 0), width());
|
||||
}
|
||||
}
|
||||
if (_checkRect.contains(r)) return;
|
||||
|
||||
Reference in New Issue
Block a user