Fix unknown source box style.

This commit is contained in:
Bartosz Taudul 2022-08-06 23:41:47 +02:00
parent 4607dca13b
commit 73be35ea98
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -3594,7 +3594,9 @@ void SourceView::RenderAsmLine( AsmLine& line, const AddrStat& ipcnt, const Addr
} }
else else
{ {
SmallColorBox( 0 ); ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
ImGui::ColorButton( "c1", ImVec4( 0.f, 0.f, 0.f, 1.f ), ImGuiColorEditFlags_NoTooltip | ImGuiColorEditFlags_NoDragDrop, ImVec2( ty - 3 * scale, ty - 3 * scale) );
ImGui::PopStyleVar();
ImGui::SameLine(); ImGui::SameLine();
startPos = ImGui::GetCursorScreenPos(); startPos = ImGui::GetCursorScreenPos();
TextDisabledUnformatted( "[unknown]" ); TextDisabledUnformatted( "[unknown]" );