diff options
author | M. Huri <kak_huri@yahoo.com> | 2018-10-22 09:08:16 +0700 |
---|---|---|
committer | M. Huri <kak_huri@yahoo.com> | 2018-10-23 03:46:16 +0700 |
commit | 90efe5be080041cd66176ab18a33d1c28a6bd8ea (patch) | |
tree | c6d4a5e36ced12b2560d6f73cc0a683933662f7a /scene | |
parent | c487cce6d0af608173508b10d4d3a37f8f0a9907 (diff) |
Fixed a typo, treshhold to threshold.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/gradient_edit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<InputEvent> &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) { |