- changed status to resolved
SirenixEditorGUI.IconButton does not use the tooltip passed into the call.
Issue #697
resolved
The function IconButton
in SirenixEditorGUI
(EditorIcon
variant) does not use the tooltip parameter it is given as demonstrated below:
SirenixEditorGUI.cs
public static bool IconButton(Rect rect, EditorIcon icon, GUIStyle style, string tooltip)
{
style = style ?? SirenixGUIStyles.IconButton;
if (GUI.Button(rect, GUIContent.none, style))
{
GUIHelper.RemoveFocusControl();
return true;
}
if (Event.current.type == EventType.Repaint)
{
float drawSize = Mathf.Min(rect.height, rect.width);
icon.Draw(rect, drawSize);
}
return false;
}
Comments (1)
-
- Log in to comment
Fixed in version 3.0.3.0