| 61 | } |
| 62 | |
| 63 | PanePtr PaneManager::topPane(Set<PaneLayer> const& paneLayers) const { |
| 64 | for (auto const& layerPair : m_displayedPanes) { |
| 65 | if (paneLayers.contains(layerPair.first) && !layerPair.second.empty()) |
| 66 | return layerPair.second.firstKey(); |
| 67 | } |
| 68 | return {}; |
| 69 | } |
| 70 | |
| 71 | PanePtr PaneManager::topPane() const { |
| 72 | for (auto const& layerPair : m_displayedPanes) { |
no test coverage detected