1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix titles in graph editors being invisible when headers are enabled

This commit is contained in:
Michael Alexsander Silva Dias
2018-12-16 23:18:04 -02:00
parent 20379119c3
commit 9d4a996a08
5 changed files with 32 additions and 19 deletions

View File

@@ -904,8 +904,8 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
snap = memnew(ToolButton);
snap->set_toggle_mode(true);
top_hb->add_child(snap);
//snap->set_text(TTR("Snap"));
snap->set_pressed(true);
snap->set_tooltip(TTR("Enable snap and show grid."));
snap->connect("pressed", this, "_snap_toggled");
snap_x = memnew(SpinBox);