mirror of https://github.com/procxx/kepka.git
Fix issue number :/ Fixes #4150.
This commit is contained in:
parent
10b76d921b
commit
9534121676
|
@ -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…
Reference in New Issue