1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-11 13:10:58 +00:00

Merge pull request #32150 from luzpaz/typos

Fix misc. source comment typos
This commit is contained in:
Rémi Verschelde
2019-09-20 17:09:05 +02:00
committed by GitHub
26 changed files with 42 additions and 38 deletions

View File

@@ -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) {