1
0
mirror of synced 2024-11-24 07:40:17 +01:00

impr: Don't show separator in bookmark drag tooltip if no comment is present

This commit is contained in:
WerWolv 2024-06-09 21:01:22 +02:00
parent ecf871a6f1
commit 4fd65403c0

View File

@ -342,9 +342,9 @@ namespace hex::plugin::builtin {
ImGui::ColorButton("##color", headerColor.Value, ImGuiColorEditFlags_NoInputs | ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_NoAlpha);
ImGui::SameLine();
ImGuiExt::TextFormatted("{}", name);
ImGui::Separator();
if (!comment.empty()) {
ImGui::Separator();
ImGui::PushTextWrapPos(300_scaled);
ImGuiExt::TextFormatted("{}", comment);
ImGui::PopTextWrapPos();