mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Closed beta 10020003: All colors moved to palette, some bug fixes.
This commit is contained in:
@@ -166,8 +166,8 @@ void DialogsInner::paintRegion(Painter &p, const QRegion ®ion, bool paintingO
|
||||
if (!paintingOther) {
|
||||
auto &tag = result->tag;
|
||||
if (selected) {
|
||||
int skip = (st::mentionHeight - st::simpleCloseIconOver.height()) / 2;
|
||||
st::simpleCloseIconOver.paint(p, QPoint(fullWidth - st::simpleCloseIconOver.width() - skip, skip), width());
|
||||
int skip = (st::mentionHeight - st::smallCloseIconOver.height()) / 2;
|
||||
st::smallCloseIconOver.paint(p, QPoint(fullWidth - st::smallCloseIconOver.width() - skip, skip), width());
|
||||
}
|
||||
auto first = (_hashtagFilter.size() < 2) ? QString() : ('#' + tag.mid(0, _hashtagFilter.size() - 1));
|
||||
auto second = (_hashtagFilter.size() < 2) ? ('#' + tag) : tag.mid(_hashtagFilter.size() - 1);
|
||||
|
Reference in New Issue
Block a user