2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Rename some Ui methods.

myEnsureResized -> Ui::SendPendingMoveResizeEvents.
myGrab -> Ui::GrabWidget.
myGrabImage -> Ui::GrabWidgetToImage.
This commit is contained in:
John Preston
2017-12-26 15:41:48 +03:00
parent 5f8143e6a4
commit 2569df9e5a
44 changed files with 197 additions and 111 deletions

View File

@@ -539,7 +539,7 @@ void Notification::refreshLang() {
}
void Notification::prepareActionsCache() {
auto replyCache = myGrab(_reply);
auto replyCache = Ui::GrabWidget(_reply);
auto fadeWidth = st::notifyFadeRight.width();
auto actionsTop = st::notifyTextTop + st::msgNameFont->height;
auto replyRight = _replyPadding - st::notifyBorderWidth;