diff options
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) { |