2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Improve webview on macOS.

This commit is contained in:
John Preston
2022-08-04 19:33:56 +03:00
parent 5793241efc
commit 2f5038a792
6 changed files with 12 additions and 6 deletions

View File

@@ -22,7 +22,9 @@ namespace Passport {
Panel::Panel(not_null<PanelController*> controller)
: _controller(controller)
, _widget(std::make_unique<Ui::SeparatePanel>()) {
, _widget(std::make_unique<Ui::SeparatePanel>(Ui::SeparatePanelArgs{
.onAllSpaces = true,
})) {
_widget->setTitle(tr::lng_passport_title());
_widget->setInnerSize(st::passportPanelSize);