mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 05:03:53 +00:00
Add id to annotation description input box.
This commit is contained in:
parent
0b1e5d2c96
commit
42688c9bf3
@ -16111,7 +16111,7 @@ void View::DrawSelectedAnnotation()
|
|||||||
char buf[1024];
|
char buf[1024];
|
||||||
buf[descsz] = '\0';
|
buf[descsz] = '\0';
|
||||||
memcpy( buf, desc, descsz );
|
memcpy( buf, desc, descsz );
|
||||||
if( ImGui::InputTextWithHint( "", "Describe annotation", buf, 256 ) )
|
if( ImGui::InputTextWithHint( "##anndesc", "Describe annotation", buf, 256 ) )
|
||||||
{
|
{
|
||||||
m_selectedAnnotation->text.assign( buf );
|
m_selectedAnnotation->text.assign( buf );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user