summaryrefslogtreecommitdiff
path: root/scene/2d/navigation_region_2d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-08 22:37:00 +0200
committerGitHub <noreply@github.com>2022-08-08 22:37:00 +0200
commitd9d5990c517b63f41881de05cb4644c36e0c77e0 (patch)
tree70e0885a2d6da2f92083ece62d8202f707b031b1 /scene/2d/navigation_region_2d.cpp
parent35f71461f9af6fec65f6ac8c7d6279c7ca1f4d15 (diff)
parent92c40bcf325ce91279c14f0b6a42c200fe4faf51 (diff)
Merge pull request #64034 from DarkKilauea/fix-nav-region-gizmo
Diffstat (limited to 'scene/2d/navigation_region_2d.cpp')
-rw-r--r--scene/2d/navigation_region_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/navigation_region_2d.cpp b/scene/2d/navigation_region_2d.cpp
index cdf7c5afa9..00aa4b0b59 100644
--- a/scene/2d/navigation_region_2d.cpp
+++ b/scene/2d/navigation_region_2d.cpp
@@ -494,7 +494,7 @@ void NavigationRegion2D::_notification(int p_what) {
// Generate the polygon color, slightly randomly modified from the settings one.
Color random_variation_color;
- random_variation_color.set_hsv(color.get_h() + rand.random(-1.0, 1.0) * 0.05, color.get_s(), color.get_v() + rand.random(-1.0, 1.0) * 0.1);
+ random_variation_color.set_hsv(color.get_h() + rand.random(-1.0, 1.0) * 0.1, color.get_s(), color.get_v() + rand.random(-1.0, 1.0) * 0.2);
random_variation_color.a = color.a;
Vector<Color> colors;
colors.push_back(random_variation_color);