mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Selection overlay is transparent for mouse events.
Took 2 minutes
This commit is contained in:
parent
61e5639f72
commit
da135637a9
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ ResizablePanel::ResizablePanel(const QString &_typeId, AbstractAnalyticsPanelWid
|
||||||
selectionOverlay->setStyleSheet("background-color: rgba(61,174,233,50);"); // semi-transparent blue
|
selectionOverlay->setStyleSheet("background-color: rgba(61,174,233,50);"); // semi-transparent blue
|
||||||
selectionOverlay->hide(); // hidden by default
|
selectionOverlay->hide(); // hidden by default
|
||||||
selectionOverlay->raise(); // make sure it is above children
|
selectionOverlay->raise(); // make sure it is above children
|
||||||
|
selectionOverlay->setAttribute(Qt::WA_TransparentForMouseEvents);
|
||||||
|
|
||||||
// Bottom bar with drag button and resize handle
|
// Bottom bar with drag button and resize handle
|
||||||
auto *bottomBar = new QWidget(frame);
|
auto *bottomBar = new QWidget(frame);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue