| 159 | } |
| 160 | |
| 161 | void MultiplayerEditorPlugin::_pinned() { |
| 162 | if (!repl_editor->get_pin()->is_pressed() && repl_editor->get_current() == nullptr) { |
| 163 | if (repl_editor->is_visible_in_tree()) { |
| 164 | EditorNode::get_bottom_panel()->hide_bottom_panel(); |
| 165 | } |
| 166 | button->hide(); |
| 167 | } |
| 168 | } |
| 169 | |
| 170 | void MultiplayerEditorPlugin::edit(Object *p_object) { |
| 171 | repl_editor->edit(Object::cast_to<MultiplayerSynchronizer>(p_object)); |
nothing calls this directly
no test coverage detected