mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed display of over and selection circles in emoji picker overlay.
This commit is contained in:
@@ -145,7 +145,6 @@ void DrawEmojiCell(
|
|||||||
auto q = QPainter(&buffer);
|
auto q = QPainter(&buffer);
|
||||||
Ui::Emoji::Draw(q, emoji, esize, 0, 0);
|
Ui::Emoji::Draw(q, emoji, esize, 0, 0);
|
||||||
}
|
}
|
||||||
auto hq = PainterHighQualityEnabler(p);
|
|
||||||
p.drawImage(target, buffer);
|
p.drawImage(target, buffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -221,6 +220,7 @@ void EmojiPickerOverlay::Strip::updateHover(int index) {
|
|||||||
|
|
||||||
void EmojiPickerOverlay::Strip::paintEvent(QPaintEvent *e) {
|
void EmojiPickerOverlay::Strip::paintEvent(QPaintEvent *e) {
|
||||||
auto p = QPainter(this);
|
auto p = QPainter(this);
|
||||||
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
for (auto i = 0; i != int(_cells.size()); ++i) {
|
for (auto i = 0; i != int(_cells.size()); ++i) {
|
||||||
const auto &cell = _cells[i];
|
const auto &cell = _cells[i];
|
||||||
const auto selected = _owner->_selectedList.end()
|
const auto selected = _owner->_selectedList.end()
|
||||||
@@ -323,6 +323,7 @@ void EmojiPickerOverlay::Grid::updateHover(int index) {
|
|||||||
|
|
||||||
void EmojiPickerOverlay::Grid::paintEvent(QPaintEvent *e) {
|
void EmojiPickerOverlay::Grid::paintEvent(QPaintEvent *e) {
|
||||||
auto p = QPainter(this);
|
auto p = QPainter(this);
|
||||||
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
const auto clip = e->rect();
|
const auto clip = e->rect();
|
||||||
for (auto i = 0; i != int(_cells.size()); ++i) {
|
for (auto i = 0; i != int(_cells.size()); ++i) {
|
||||||
const auto &cell = _cells[i];
|
const auto &cell = _cells[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user