File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
modules/multiplayer/editor Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ void MultiplayerEditorPlugin::_node_removed(Node *p_node) {
149149}
150150
151151void MultiplayerEditorPlugin::_pinned () {
152- if (!repl_editor->get_pin ()->is_pressed ()) {
152+ if (!repl_editor->get_pin ()->is_pressed () && repl_editor-> get_current () == nullptr ) {
153153 if (repl_editor->is_visible_in_tree ()) {
154154 EditorNode::get_bottom_panel ()->hide_bottom_panel ();
155155 }
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ ReplicationEditor::ReplicationEditor() {
270270 pin = memnew (Button);
271271 pin->set_theme_type_variation (" FlatButton" );
272272 pin->set_toggle_mode (true );
273+ pin->set_tooltip_text (TTR (" Pin replication editor" ));
273274 hb->add_child (pin);
274275
275276 tree = memnew (Tree);
You can’t perform that action at this time.
0 commit comments