Skip to content
Snippets Groups Projects

masks transform along with color map (#988), plus some code cleanup

Merged Wuttke, Joachim requested to merge j.0 into main
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -343,6 +343,7 @@ IOverlay* MaskGraphicsScene::registerOverlay(OverlayItem* item)
connect(line_item, &OverlayItem::maskToBeDestroyed,
[this, line_item] { emit lineItemDeleted(line_item); });
}
connect(m_plot.get(), &QCustomPlot::afterReplot, overlay, &IOverlay::onGeometryChange);
connect(item, &OverlayItem::maskGeometryChanged, overlay, &IOverlay::onGeometryChange);
if (auto* mask_item = dynamic_cast<MaskItem*>(item)) {
if (auto* mask_overlay = dynamic_cast<IMaskOverlay*>(overlay))
Loading