summaryrefslogtreecommitdiffhomepage
path: root/editor/imgui-misc.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-04-08 09:08:55 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-04-08 09:22:58 +0200
commit721ce1bbb6f04f380343766d87ffdd9d4407b577 (patch)
treee1ade0367214b97eae382b6a6daa4bb8869be932 /editor/imgui-misc.cpp
parent22f1e92d16dbf7986977c323c0a2985fead88bfd (diff)
a
Diffstat (limited to 'editor/imgui-misc.cpp')
-rw-r--r--editor/imgui-misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-misc.cpp b/editor/imgui-misc.cpp
index 9acd906e..84522f57 100644
--- a/editor/imgui-misc.cpp
+++ b/editor/imgui-misc.cpp
@@ -63,7 +63,7 @@ void app::draw_z_level()
const auto font_size = ImGui::GetCurrentContext()->FontSize+3;
auto shadow_offset = Vector2(1, 1)/* * dpi */;
auto px = Vector2(*cursor.pixel) + offset, px2 = px + shadow_offset;
- draw.AddText(nullptr, font_size, {px2[0], px2[1]}, ImGui::ColorConvertFloat4ToU32({0, 0, 0, 1}), buf);
+ draw.AddText(nullptr, font_size, {px2[0], px2[1]}, ImGui::ColorConvertFloat4ToU32({0, 0, 0, .75f}), buf);
draw.AddText(nullptr, font_size, {px[0], px[1]}, ImGui::ColorConvertFloat4ToU32({1, 0, 1, 1}), buf);
}
}