summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-29 16:24:14 +0100
committerGitHub <noreply@github.com>2021-11-29 16:24:14 +0100
commit9c116fcf0a9ab865c94a09a11395899f5e534be0 (patch)
tree37d9e2f6c9cd076abefb8cf44e02c7520f12dc7b /scene
parente4a7ee0da9f29b4188a7c0f83d8db3e9893f15ef (diff)
parent8a6c6d53298d9e9931651913b39d5db763fb3c35 (diff)
Merge pull request #55377 from RedHeadphone/patch-1
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/texture_progress_bar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/texture_progress_bar.cpp b/scene/gui/texture_progress_bar.cpp
index facbe06d4d..3c10c6bd66 100644
--- a/scene/gui/texture_progress_bar.cpp
+++ b/scene/gui/texture_progress_bar.cpp
@@ -501,6 +501,7 @@ void TextureProgressBar::_notification(int p_what) {
}
p *= get_relative_center();
+ p += progress_offset;
p = p.floor();
draw_line(p - Point2(8, 0), p + Point2(8, 0), Color(0.9, 0.5, 0.5), 2);
draw_line(p - Point2(0, 8), p + Point2(0, 8), Color(0.9, 0.5, 0.5), 2);