mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Beta version 4.16.9.
- Show "Frequent contacts" when you focus the search field. - Show "Recent chats" when you focus the search field. - Show "Channels" and channel recommendations. - Allow changing font in Settings > Chat settings > Font family.
This commit is contained in:
@@ -22,7 +22,7 @@ constexpr auto AppId = "{53F49750-6209-4FBF-9CA8-7A333C87D1ED}"_cs;
|
||||
constexpr auto AppNameOld = "Telegram Win (Unofficial)"_cs;
|
||||
constexpr auto AppName = "Telegram Desktop"_cs;
|
||||
constexpr auto AppFile = "Telegram"_cs;
|
||||
constexpr auto AppVersion = 4016008;
|
||||
constexpr auto AppVersionStr = "4.16.8";
|
||||
constexpr auto AppBetaVersion = false;
|
||||
constexpr auto AppVersion = 4016009;
|
||||
constexpr auto AppVersionStr = "4.16.9";
|
||||
constexpr auto AppBetaVersion = true;
|
||||
constexpr auto AppAlphaVersion = TDESKTOP_ALPHA_VERSION;
|
||||
|
@@ -1225,7 +1225,6 @@ void Suggestions::paintEvent(QPaintEvent *e) {
|
||||
const auto slide = st::topPeers.height + st::searchedBarHeight;
|
||||
const auto right = (_tab.current() == Tab::Channels);
|
||||
const auto progress = _slideAnimation.value(right ? 1. : 0.);
|
||||
const auto shift = st::topPeers.height + st::searchedBarHeight;
|
||||
p.setOpacity(1. - progress);
|
||||
p.drawPixmap(
|
||||
anim::interpolate(0, -slide, progress),
|
||||
|
@@ -780,8 +780,6 @@ void WebPage::draw(Painter &p, const PaintContext &context) const {
|
||||
const auto offsetY = (single - size.height()) / 2.;
|
||||
const auto x = j * single + offsetX;
|
||||
const auto y = i * single + offsetY;
|
||||
const auto w = size.width();
|
||||
const auto h = size.height();
|
||||
view->draw(p, context, QRect(QPoint(x, y) + topLeft, size));
|
||||
}
|
||||
}
|
||||
|
@@ -129,7 +129,6 @@ private:
|
||||
[[nodiscard]] bool searching() const;
|
||||
[[nodiscard]] int shownRowsCount() const;
|
||||
[[nodiscard]] Entry &shownRowAt(int index);
|
||||
[[nodiscard]] const Entry &shownRowAt(int index) const;
|
||||
|
||||
void applyFilter(const QString &query);
|
||||
void updateSelected(int selected);
|
||||
@@ -179,8 +178,6 @@ Selector::Selector(
|
||||
, _scrollTo(std::move(scrollTo))
|
||||
, _rowsSkip(st::settingsInfoPhotoSkip)
|
||||
, _rowHeight(_st.height + _st.padding.top() + _st.padding.bottom()) {
|
||||
Expects(_chosen >= 0 && _chosen < _rows.size());
|
||||
|
||||
setMouseTracking(true);
|
||||
|
||||
std::move(filter) | rpl::start_with_next([=](const QString &query) {
|
||||
@@ -344,10 +341,6 @@ Selector::Entry &Selector::shownRowAt(int index) {
|
||||
return searching() ? *_filtered[index] : _rows[index];
|
||||
}
|
||||
|
||||
const Selector::Entry &Selector::shownRowAt(int index) const {
|
||||
return const_cast<Selector*>(this)->shownRowAt(index);
|
||||
}
|
||||
|
||||
void Selector::setMinHeight(int height) {
|
||||
_minHeight = height;
|
||||
if (_minHeight > 0) {
|
||||
@@ -797,7 +790,6 @@ void PreviewPainter::layout() {
|
||||
_bubble = _content.marginsAdded(msgPadding);
|
||||
_content.moveTopLeft(-_bubble.topLeft());
|
||||
_bubble.moveTopLeft({});
|
||||
const auto bubbleShadow = st::msgShadow;
|
||||
|
||||
_outer = QSize(st::boxWidth, st::boxWidth / 2);
|
||||
|
||||
|
Reference in New Issue
Block a user