summaryrefslogtreecommitdiffstats
path: root/scene/gui/text_edit.cpp
diff options
context:
space:
mode:
authorluz.paz <luzpaz@users.noreply.github.com>2019-09-19 14:36:39 -0400
committerluz.paz <luzpaz@users.noreply.github.com>2019-09-19 14:36:52 -0400
commit91ecd7b6a679edeaee6b6ac147074c80d2bd30f6 (patch)
tree954513bb4bd618724f31c88cfc272d5cda8d6676 /scene/gui/text_edit.cpp
parent24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff)
downloadredot-engine-91ecd7b6a679edeaee6b6ac147074c80d2bd30f6.tar.gz
Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
Diffstat (limited to 'scene/gui/text_edit.cpp')
-rw-r--r--scene/gui/text_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 7bcef5f9ab..eb23305f69 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -647,7 +647,7 @@ void TextEdit::_notification(int p_what) {
if (scrolling && get_v_scroll() != target_v_scroll) {
double target_y = target_v_scroll - get_v_scroll();
double dist = sqrt(target_y * target_y);
- // To ensure minimap is responsive overide the speed setting.
+ // To ensure minimap is responsive override the speed setting.
double vel = ((target_y / dist) * ((minimap_clicked) ? 3000 : v_scroll_speed)) * get_physics_process_delta_time();
if (Math::abs(vel) >= dist) {