mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Don't reset interface scale to auto on Settings open.
This commit is contained in:
@@ -259,6 +259,8 @@ void SetupInterfaceScale(
|
||||
slider->sectionActivated(
|
||||
) | rpl::map([=](int section) {
|
||||
return scaleByIndex(section);
|
||||
}) | rpl::filter([=](int scale) {
|
||||
return cEvalScale(scale) != cEvalScale(cConfigScale());
|
||||
}) | rpl::start_with_next([=](int scale) {
|
||||
setScale(
|
||||
(scale == cScreenScale()) ? style::kScaleAuto : scale,
|
||||
|
Reference in New Issue
Block a user