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 `
This commit is contained in:
parent
24e1039eb6
commit
91ecd7b6a6
26 changed files with 42 additions and 38 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue