2
0
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:
John Preston
2016-04-18 23:33:43 +03:00
parent edd26b3224
commit 4fe70c3a12
49 changed files with 5535 additions and 459 deletions

View File

@@ -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.);