mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use smaller emoji.
This commit is contained in:
parent
7de5cabd79
commit
99f3173ae6
1 changed files with 2 additions and 2 deletions
|
@ -591,7 +591,7 @@ void Panel::toggleFullScreen(bool fullscreen) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Panel::updateFingerprintGeometry() {
|
void Panel::updateFingerprintGeometry() {
|
||||||
auto realSize = Ui::Emoji::GetSizeLarge();
|
auto realSize = Ui::Emoji::GetSizeNormal();
|
||||||
auto size = realSize / cIntRetinaFactor();
|
auto size = realSize / cIntRetinaFactor();
|
||||||
auto count = _fingerprint.size();
|
auto count = _fingerprint.size();
|
||||||
auto rectWidth = count * size + (count - 1) * st::callFingerprintSkip;
|
auto rectWidth = count * size + (count - 1) * st::callFingerprintSkip;
|
||||||
|
@ -730,7 +730,7 @@ void Panel::paint(QRect clip) {
|
||||||
p.setPen(Qt::NoPen);
|
p.setPen(Qt::NoPen);
|
||||||
p.drawRoundedRect(_fingerprintArea, radius, radius);
|
p.drawRoundedRect(_fingerprintArea, radius, radius);
|
||||||
|
|
||||||
const auto realSize = Ui::Emoji::GetSizeLarge();
|
const auto realSize = Ui::Emoji::GetSizeNormal();
|
||||||
const auto size = realSize / cIntRetinaFactor();
|
const auto size = realSize / cIntRetinaFactor();
|
||||||
auto left = _fingerprintArea.left() + st::callFingerprintPadding.left();
|
auto left = _fingerprintArea.left() + st::callFingerprintPadding.left();
|
||||||
const auto top = _fingerprintArea.top() + st::callFingerprintPadding.top();
|
const auto top = _fingerprintArea.top() + st::callFingerprintPadding.top();
|
||||||
|
|
Loading…
Add table
Reference in a new issue