aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/EdgeView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/EdgeView.cpp')
-rw-r--r--src/gui/EdgeView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/EdgeView.cpp b/src/gui/EdgeView.cpp
index c72fc3f..eff796c 100644
--- a/src/gui/EdgeView.cpp
+++ b/src/gui/EdgeView.cpp
@@ -44,9 +44,9 @@
inline static uint32_t edge_color(float prob)
{
- static uint32_t min = 0xFF4444C0;
- static uint32_t mid = 0xFFFF44C0;
- static uint32_t max = 0x44FF44C0;
+ static const uint32_t min = 0xFF4444C0;
+ static const uint32_t mid = 0xFFFF44C0;
+ static const uint32_t max = 0x44FF44C0;
if (prob <= 0.5)
return UINT_INTERPOLATE(min, mid, prob*2.0);