feat: add tooltips for element buttons
This commit is contained in:
parent
2483c5e4d5
commit
c02ac42e9e
|
@ -580,11 +580,15 @@ namespace HUD_Manager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HoverTooltip("Toggle a movable preview for this element");
|
||||||
|
|
||||||
ImGui.SameLine(ImGui.GetContentRegionAvail().X - ImGui.GetStyle().ItemSpacing.X * 3);
|
ImGui.SameLine(ImGui.GetContentRegionAvail().X - ImGui.GetStyle().ItemSpacing.X * 3);
|
||||||
if (IconButton(FontAwesomeIcon.TrashAlt, $"uimanager-remove-element-{kind}")) {
|
if (IconButton(FontAwesomeIcon.TrashAlt, $"uimanager-remove-element-{kind}")) {
|
||||||
toRemove.Add(kind);
|
toRemove.Add(kind);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HoverTooltip("Remove this element from this layout");
|
||||||
|
|
||||||
ImGui.Separator();
|
ImGui.Separator();
|
||||||
|
|
||||||
void DrawEnabledCheckbox(ElementKind kind, ElementComponent component) {
|
void DrawEnabledCheckbox(ElementKind kind, ElementComponent component) {
|
||||||
|
|
Loading…
Reference in New Issue