mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 20:33:40 +01:00
Fix IconButton Caravan Issue
This commit is contained in:
parent
bc45b4f6c4
commit
5c5b15810b
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ public static partial class ImGuiComponents
|
||||||
/// <param name="hoveredColor">The color of the button when hovered.</param>
|
/// <param name="hoveredColor">The color of the button when hovered.</param>
|
||||||
/// <returns>Indicator if button is clicked.</returns>
|
/// <returns>Indicator if button is clicked.</returns>
|
||||||
public static bool IconButton(int id, FontAwesomeIcon icon, Vector4? defaultColor = null, Vector4? activeColor = null, Vector4? hoveredColor = null)
|
public static bool IconButton(int id, FontAwesomeIcon icon, Vector4? defaultColor = null, Vector4? activeColor = null, Vector4? hoveredColor = null)
|
||||||
=> IconButton($"{icon.ToIconString()}{id}", defaultColor, activeColor, hoveredColor);
|
=> IconButton($"{icon.ToIconString()}##{id}", defaultColor, activeColor, hoveredColor);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// IconButton component to use an icon as a button with color options.
|
/// IconButton component to use an icon as a button with color options.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue