mirror of https://github.com/procxx/kepka.git
fixed new msg badge for retina
This commit is contained in:
parent
1fc405ea52
commit
4ffefe76fc
|
@ -238,7 +238,7 @@ void TitleWidget::updateCounter() {
|
||||||
style::color bg = (App::histories().unreadMuted < counter) ? st::counterBG : st::counterMuteBG;
|
style::color bg = (App::histories().unreadMuted < counter) ? st::counterBG : st::counterMuteBG;
|
||||||
|
|
||||||
if (counter > 0) {
|
if (counter > 0) {
|
||||||
int32 size = -16;
|
int32 size = cRetina() ? -32 : -16;
|
||||||
switch (cScale()) {
|
switch (cScale()) {
|
||||||
case dbisOneAndQuarter: size = -20; break;
|
case dbisOneAndQuarter: size = -20; break;
|
||||||
case dbisOneAndHalf: size = -24; break;
|
case dbisOneAndHalf: size = -24; break;
|
||||||
|
|
Loading…
Reference in New Issue