summaryrefslogtreecommitdiff
path: root/editor/animation_track_editor.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-12 13:34:30 +0200
committerGitHub <noreply@github.com>2019-06-12 13:34:30 +0200
commit97fb28df0d4ee0625f1dddecf47ec9f30f607157 (patch)
tree61411ef82abdec3b63dae6dfbe41599adf54c307 /editor/animation_track_editor.cpp
parent902212d8d4d2cc8f4748ff6ebc8a7f0e9ecd0ff5 (diff)
parentbb1c5f552561b4aeb90be3ea4741bc9be4ff44c5 (diff)
Merge pull request #29595 from YeldhamDev/bus_editor_enhancements
Enhancements for the audio bus editor
Diffstat (limited to 'editor/animation_track_editor.cpp')
-rw-r--r--editor/animation_track_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/animation_track_editor.cpp b/editor/animation_track_editor.cpp
index 7dadbf88fb..0385220baa 100644
--- a/editor/animation_track_editor.cpp
+++ b/editor/animation_track_editor.cpp
@@ -1214,7 +1214,7 @@ void AnimationTrackEdit::_notification(int p_what) {
Color accent = get_color("accent_color", "Editor");
accent.a *= 0.7;
// Offside so the horizontal sides aren't cutoff.
- draw_rect(Rect2(Point2(1, 0), get_size() - Size2(1, 0)), accent, false);
+ draw_rect(Rect2(Point2(1 * EDSCALE, 0), get_size() - Size2(1 * EDSCALE, 0)), accent, false);
}
Ref<Font> font = get_font("font", "Label");