From 90efe5be080041cd66176ab18a33d1c28a6bd8ea Mon Sep 17 00:00:00 2001 From: "M. Huri" Date: Mon, 22 Oct 2018 09:08:16 +0700 Subject: Fixed a typo, treshhold to threshold. --- scene/gui/gradient_edit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene/gui/gradient_edit.cpp') diff --git a/scene/gui/gradient_edit.cpp b/scene/gui/gradient_edit.cpp index 934b84ec0c..c13964d196 100644 --- a/scene/gui/gradient_edit.cpp +++ b/scene/gui/gradient_edit.cpp @@ -236,8 +236,8 @@ void GradientEdit::_gui_input(const Ref &p_event) { //Snap to nearest point if holding shift if (mm->get_shift()) { - float snap_treshhold = 0.03; - float smallest_ofs = snap_treshhold; + float snap_threshold = 0.03; + float smallest_ofs = snap_threshold; bool found = false; int nearest_point = 0; for (int i = 0; i < points.size(); ++i) { -- cgit v1.2.3