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

Enable RoundPreferFloor HighDpi support on Windows.

Add an experimental setting for exact HighDPI on Windows.
This commit is contained in:
John Preston
2023-01-12 13:18:28 +04:00
parent 1592f70a7c
commit 39075538fb
6 changed files with 42 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "ui/chat/chat_style_radius.h"
#include "base/options.h"
#include "core/application.h"
#include "core/launcher.h"
#include "platform/platform_specific.h"
#include "chat_helpers/tabbed_panel.h"
#include "dialogs/dialogs_inner_widget.h"
@@ -137,6 +138,7 @@ void SetupExperimental(
};
addToggle(ChatHelpers::kOptionTabbedPanelShowOnClick);
addToggle(Core::kOptionFractionalScalingEnabled);
addToggle(Window::kOptionViewProfileInChatsListContextMenu);
addToggle(Dialogs::kOptionCtrlClickChatNewWindow);
addToggle(Ui::GL::kOptionAllowLinuxNvidiaOpenGL);