mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix issue number :/ Fixes #4150.
This commit is contained in:
parent
10b76d921b
commit
9534121676
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ void MainWindow::Private::initCustomTitle() {
|
||||||
_public->_customTitleHeight = qMax(qRound(full.size.height - inner.size.height), 0);
|
_public->_customTitleHeight = qMax(qRound(full.size.height - inner.size.height), 0);
|
||||||
|
|
||||||
// Qt still has some bug with layer-backed widgets containing QOpenGLWidgets.
|
// Qt still has some bug with layer-backed widgets containing QOpenGLWidgets.
|
||||||
// See https://github.com/telegramdesktop/tdesktop/issues/4149
|
// See https://github.com/telegramdesktop/tdesktop/issues/4150
|
||||||
// Tried to workaround it by catching the first moment we have CALayer created
|
// Tried to workaround it by catching the first moment we have CALayer created
|
||||||
// and explicitly setting contentsScale to window->backingScaleFactor there.
|
// and explicitly setting contentsScale to window->backingScaleFactor there.
|
||||||
_layerCreationChecker = std::make_unique<LayerCreationChecker>(_nativeView, [=] {
|
_layerCreationChecker = std::make_unique<LayerCreationChecker>(_nativeView, [=] {
|
||||||
|
|
Loading…
Add table
Reference in a new issue