mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
started signal handlers, shadow fixed in sticker-by-emoji, via @bot resize fixed
This commit is contained in:
@@ -2499,6 +2499,7 @@ MsgId History::msgIdForRead() const {
|
||||
int32 History::geomResize(int32 newWidth, int32 *ytransform, const HistoryItem *resizedItem) {
|
||||
if (width != newWidth) resizedItem = 0; // recount all items
|
||||
if (width != newWidth || resizedItem) {
|
||||
width = newWidth;
|
||||
int32 y = 0;
|
||||
for (Blocks::iterator i = blocks.begin(), e = blocks.end(); i != e; ++i) {
|
||||
HistoryBlock *block = *i;
|
||||
@@ -2513,7 +2514,6 @@ int32 History::geomResize(int32 newWidth, int32 *ytransform, const HistoryItem *
|
||||
ytransform = 0;
|
||||
}
|
||||
}
|
||||
width = newWidth;
|
||||
height = y;
|
||||
}
|
||||
return height;
|
||||
|
Reference in New Issue
Block a user