mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Fix the naming of TitleControlsLayout static methods
This commit is contained in:
@@ -1260,7 +1260,7 @@ void Pip::setupButtons() {
|
|||||||
volumeToggleWidth,
|
volumeToggleWidth,
|
||||||
volumeToggleHeight);
|
volumeToggleHeight);
|
||||||
using Ui::Platform::TitleControlsLayout;
|
using Ui::Platform::TitleControlsLayout;
|
||||||
if (!TitleControlsLayout::Create()->current().onLeft()) {
|
if (!TitleControlsLayout::Instance()->current().onLeft()) {
|
||||||
_close.area.moveLeft(rect.x()
|
_close.area.moveLeft(rect.x()
|
||||||
+ rect.width()
|
+ rect.width()
|
||||||
- (_close.area.x() - rect.x())
|
- (_close.area.x() - rect.x())
|
||||||
|
Submodule Telegram/lib_ui updated: 88c76eccb2...ab8d8fcfd2
Reference in New Issue
Block a user