diff options
Diffstat (limited to 'scene/gui/graph_edit.cpp')
-rw-r--r-- | scene/gui/graph_edit.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 2129ae6126..02363e909c 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -1105,6 +1105,7 @@ Array GraphEdit::_get_connection_list() const { void GraphEdit::_zoom_minus() { set_zoom(zoom / ZOOM_SCALE); } + void GraphEdit::_zoom_reset() { set_zoom(1); } @@ -1155,6 +1156,7 @@ void GraphEdit::set_snap(int p_snap) { snap_amount->set_value(p_snap); update(); } + void GraphEdit::_snap_toggled() { update(); } |