Fix hierarchy rename field behavior
This commit is contained in:
@@ -354,6 +354,18 @@ inline float InlineRenameFieldRounding() {
|
||||
return 2.0f;
|
||||
}
|
||||
|
||||
inline ImVec4 InlineRenameFieldBackgroundColor() {
|
||||
return ImVec4(0.25f, 0.25f, 0.25f, 1.0f);
|
||||
}
|
||||
|
||||
inline ImVec4 InlineRenameFieldHoveredColor() {
|
||||
return InlineRenameFieldBackgroundColor();
|
||||
}
|
||||
|
||||
inline ImVec4 InlineRenameFieldActiveColor() {
|
||||
return InlineRenameFieldBackgroundColor();
|
||||
}
|
||||
|
||||
inline float InlineRenameFieldHeight() {
|
||||
return ImGui::GetFontSize() + InlineRenameFieldFramePadding().y * 2.0f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user