diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-25 22:50:42 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-25 22:50:42 +0200 |
commit | 24e77b14855455690747868d950f8ea75877eb0b (patch) | |
tree | 8b736f98915b74526222e6d85572b51aef5a7e89 /editor/imgui.cpp | |
parent | 7cf9035f537c400b356cc83b00059b3eb4b687ac (diff) |
show light info below windows and menus
Diffstat (limited to 'editor/imgui.cpp')
-rw-r--r-- | editor/imgui.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/imgui.cpp b/editor/imgui.cpp index 0cbe5df7..6a41ec9a 100644 --- a/editor/imgui.cpp +++ b/editor/imgui.cpp @@ -152,7 +152,7 @@ void app::draw_clickables() void app::draw_light_info() { - ImDrawList& draw = *ImGui::GetForegroundDrawList(); + ImDrawList& draw = *ImGui::GetBackgroundDrawList(); const auto dpi = M->dpi_scale(); constexpr float font_size = 12; const auto& style = ImGui::GetStyle(); @@ -169,9 +169,6 @@ void app::draw_light_info() const auto dest = Math::Range2D<float>(x.dest); const auto& e = static_cast<const light&>(*x.e); - if (e.id == _popup_target.id) // TODO use z order instead - continue; - StringView falloff; switch (e.falloff) { |