diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 18:52:29 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 19:00:48 +0100 |
commit | 315c64282bb8d24963104c6386f0a82dc5ccb777 (patch) | |
tree | f4ea460f578e32ee85719ede5181c6f5d9d87fb1 /editor | |
parent | 19ae37cc99dfc236dbe5a520d3147353d7cfe8ff (diff) |
Fix misc formatting issues
Somehow I missed the failing CI report from trailing whitespace.
Fixed a couple typos found by codespell while at it, and misc
trailing semicolons in one of the files.
Diffstat (limited to 'editor')
-rw-r--r-- | editor/audio_stream_preview.cpp | 2 | ||||
-rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/audio_stream_preview.cpp b/editor/audio_stream_preview.cpp index f99025ad06..b84e58125e 100644 --- a/editor/audio_stream_preview.cpp +++ b/editor/audio_stream_preview.cpp @@ -76,7 +76,7 @@ float AudioStreamPreview::get_min(float p_time, float p_time_next) const { if (max == 0) { return 0; } - + int time_from = p_time / length * max; int time_to = p_time_next / length * max; time_from = CLAMP(time_from, 0, max - 1); diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index d3ab5b6f77..cf8cc71db7 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -1525,7 +1525,7 @@ SpriteFramesEditor::SpriteFramesEditor() { _zoom_reset(); // Ensure the anim search box is wide enough by default. - // Not by setting its minimum size so it can still be shrinked if desired. + // Not by setting its minimum size so it can still be shrunk if desired. set_split_offset(56 * EDSCALE); } |