mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
codegen_style completely replaces style gen with MetaStyle.
codegen_numbers project started to replace MetaStyle completely.
This commit is contained in:
@@ -2876,7 +2876,7 @@ void EmojiPan::paintEvent(QPaintEvent *e) {
|
||||
}
|
||||
|
||||
if (rtl()) selx = width() - selx - st::rbEmoji.width;
|
||||
p.setOpacity(skip ? qMax(1., selx / (skip * st::rbEmoji.width)) : 1.);
|
||||
p.setOpacity(skip ? qMax(1., selx / float64(skip * st::rbEmoji.width)) : 1.);
|
||||
p.fillRect(selx, _iconsTop + st::rbEmoji.height - st::stickerIconPadding, st::rbEmoji.width, st::stickerIconSel, st::stickerIconSelColor);
|
||||
|
||||
float64 o_left = snap(float64(_iconsX.current()) / st::stickerIconLeft.pxWidth(), 0., 1.);
|
||||
|
Reference in New Issue
Block a user