...
 
......@@ -2078,8 +2078,8 @@ rbEmojiSymbols: flatCheckbox(rbEmoji) {
}
emojiPanPadding: 12px;
emojiPanSize: size(45px, 41px);
emojiPanWidth: 345px;
emojiPanMaxHeight: 366px;
emojiPanWidth: 1311px; // maximum for 1920 x 1080 resolution
emojiPanMaxHeight: 890px; // maximum for 1920 x 1080 resolution
emojiPanDuration: 200;
emojiPanHover: #f0f4f7;
......
......@@ -123,10 +123,10 @@ enum {
WaveformSamplesCount = 100,
StickerInMemory = 2 * 1024 * 1024, // 2 Mb stickers hold in memory, auto loaded and displayed inline
StickerInMemory = 20 * 1024 * 1024, // 20 Mb stickers hold in memory, auto loaded and displayed inline
StickerMaxSize = 2048, // 2048x2048 is a max image size for sticker
AnimationInMemory = 10 * 1024 * 1024, // 10 Mb gif and mp4 animations held in memory while playing
AnimationInMemory = 100 * 1024 * 1024, // 100 Mb gif and mp4 animations held in memory while playing
MediaViewImageSizeLimit = 100 * 1024 * 1024, // show up to 100mb jpg/png/gif docs in app
MaxZoomLevel = 7, // x8
......@@ -135,9 +135,9 @@ enum {
ShortcutsCountLimit = 256, // how many shortcuts can be in json file
PreloadHeightsCount = 3, // when 3 screens to scroll left make a preload request
EmojiPanPerRow = 7,
EmojiPanPerRow = 28,
EmojiPanRowsPerPage = 6,
StickerPanPerRow = 5,
StickerPanPerRow = 20,
StickerPanRowsPerPage = 4,
StickersUpdateTimeout = 3600000, // update not more than once in an hour
......@@ -365,7 +365,7 @@ enum {
MaxUploadFileParallelSize = MTPUploadSessionsCount * 512 * 1024, // max 512kb uploaded at the same time in each session
UploadRequestInterval = 500, // one part each half second, if not uploaded faster
MaxPhotosInMemory = 50, // try to clear some memory after 50 photos are created
MaxPhotosInMemory = 250, // try to clear some memory after 250 photos are created
NoUpdatesTimeout = 60 * 1000, // if nothing is received in 1 min we ping
NoUpdatesAfterSleepTimeout = 60 * 1000, // if nothing is received in 1 min when was a sleepmode we ping
WaitForSkippedTimeout = 1000, // 1s wait for skipped seq or pts in updates
......
......@@ -166,7 +166,7 @@ class Result;
namespace internal {
constexpr int InlineItemsMaxPerRow = 5;
constexpr int InlineItemsMaxPerRow = 16;
constexpr int EmojiColorsCount = 5;
using InlineResult = InlineBots::Result;
......