mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #883, overlay messages can have shadow
This commit is contained in:
committed by
Mathew Sutcliffe
parent
1690c560b7
commit
8ca8f51802
@@ -114,8 +114,11 @@ namespace BlackGui
|
||||
if (!this->m_overlayMessages)
|
||||
{
|
||||
this->m_overlayMessages = new COverlayMessages(inner.width(), inner.height(), this);
|
||||
this->m_overlayMessages->addShadow();
|
||||
}
|
||||
|
||||
Q_ASSERT(this->m_overlayMessages);
|
||||
|
||||
const bool isFrameless = CGuiUtility::isMainWindowFrameless();
|
||||
const QPoint middle = this->geometry().center();
|
||||
const double yFactor = isFrameless ? 1.25 : 1.5; // 2 is middle in normal window
|
||||
|
||||
Reference in New Issue
Block a user