2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Nice animations when selecting shared media items.

This commit is contained in:
John Preston
2017-11-24 19:47:07 +04:00
parent 9dc39cb758
commit 0ced28f991
11 changed files with 442 additions and 189 deletions

View File

@@ -46,7 +46,6 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "lang/lang_keys.h"
#include "styles/style_info.h"
#include "styles/style_profile.h"
#include "styles/style_window.h"
namespace Info {
namespace {
@@ -449,7 +448,7 @@ void WrapWidget::toggleTopBarOverride(bool shown) {
[this] { topBarOverrideStep(); },
_topBarOverrideShown ? 0. : 1.,
_topBarOverrideShown ? 1. : 0.,
st::topBarSlideDuration,
st::slideWrapDuration,
anim::easeOutCirc);
}