Selection overlay is transparent for mouse events.

Took 2 minutes
This commit is contained in:
Lukas Brübach 2025-12-31 18:00:47 +01:00
parent 61e5639f72
commit da135637a9

View file

@ -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);