| 1246 | } |
| 1247 | |
| 1248 | void WorksheetView::updateLabelsZoom() const { |
| 1249 | const double zoom = zoomFactor(); |
| 1250 | const auto& labels = m_worksheet->children<TextLabel>(AbstractAspect::ChildIndexFlag::Recursive | AbstractAspect::ChildIndexFlag::IncludeHidden); |
| 1251 | for (auto* label : labels) |
| 1252 | label->setZoomFactor(zoom); |
| 1253 | } |
| 1254 | |
| 1255 | void WorksheetView::magnificationChanged(QAction* action) { |
| 1256 | if (action == noMagnificationAction) { |
nothing calls this directly
no test coverage detected