| 82 | } |
| 83 | |
| 84 | void ScriptLogPanelPopup::toggleGraphShown(bool graph) { |
| 85 | m_graphShown = graph; |
| 86 | |
| 87 | m_drawNode->setVisible(graph); |
| 88 | m_graphLabelsNode->setVisible(graph); |
| 89 | m_graphBottomLabels->setVisible(graph); |
| 90 | |
| 91 | m_editor->setVisible(!graph); |
| 92 | |
| 93 | this->refresh(); |
| 94 | } |
| 95 | |
| 96 | void ScriptLogPanelPopup::refresh() { |
| 97 | if (auto gjbgl = SCBaseGameLayer::get()) { |
no test coverage detected