fix side panel height on stacked multi-monitor setup

Not sure what was the purpose of this resize, I think it can be useful only in non-fullscreen mode (currently available only for debugging)
This commit is contained in:
Alex P
2020-09-15 23:04:00 +03:00
committed by borgmanJeremy
parent 460e30c2ce
commit 4dc94379c7

View File

@@ -577,8 +577,8 @@ CaptureWidget::resizeEvent(QResizeEvent* e)
QWidget::resizeEvent(e);
m_context.widgetDimensions = rect();
m_context.widgetOffset = mapToGlobal(QPoint(0, 0));
m_panel->setFixedHeight(height());
if (!m_context.fullscreen) {
m_panel->setFixedHeight(height());
m_buttonHandler->updateScreenRegions(rect());
}
}