Improve replication editor's pin button
- When unpressed, only hide the editor if MultiplayerSynchronizer is not selected. - Add tooltip text.
This commit is contained in:
@ -270,6 +270,7 @@ ReplicationEditor::ReplicationEditor() {
|
||||
pin = memnew(Button);
|
||||
pin->set_theme_type_variation("FlatButton");
|
||||
pin->set_toggle_mode(true);
|
||||
pin->set_tooltip_text(TTR("Pin replication editor"));
|
||||
hb->add_child(pin);
|
||||
|
||||
tree = memnew(Tree);
|
||||
|
||||
Reference in New Issue
Block a user