mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 05:01:10 +00:00
Fix typos in code and docs with codespell
Using v1.11.0 from https://github.com/lucasdemarchi/codespell
This commit is contained in:
parent
a1c08b7109
commit
9f479f096c
138 changed files with 405 additions and 405 deletions
|
|
@ -1589,7 +1589,7 @@ void SpatialEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
|||
float snap = spatial_editor->get_rotate_snap();
|
||||
|
||||
if (snap) {
|
||||
angle = Math::rad2deg(angle) + snap * 0.5; //else it wont reach +180
|
||||
angle = Math::rad2deg(angle) + snap * 0.5; //else it won't reach +180
|
||||
angle -= Math::fmod(angle, snap);
|
||||
set_message(vformat(TTR("Rotating %s degrees."), rtos(angle)));
|
||||
angle = Math::deg2rad(angle);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue