mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Rename some Ui methods.
myEnsureResized -> Ui::SendPendingMoveResizeEvents. myGrab -> Ui::GrabWidget. myGrabImage -> Ui::GrabWidgetToImage.
This commit is contained in:
@@ -109,10 +109,15 @@ void PasscodeWidget::showAnimated(const QPixmap &bgAnimCache, bool back) {
|
||||
showAll();
|
||||
setInnerFocus();
|
||||
_passcode->finishAnimating();
|
||||
(_showBack ? _cacheUnder : _cacheOver) = myGrab(this);
|
||||
(_showBack ? _cacheUnder : _cacheOver) = Ui::GrabWidget(this);
|
||||
hideAll();
|
||||
|
||||
_a_show.start([this] { animationCallback(); }, 0., 1., st::slideDuration, Window::SlideAnimation::transition());
|
||||
_a_show.start(
|
||||
[this] { animationCallback(); },
|
||||
0.,
|
||||
1.,
|
||||
st::slideDuration,
|
||||
Window::SlideAnimation::transition());
|
||||
show();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user