DColorButton/SetColor

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Mark as fixed instead since people may stumble upon this before the next update ships)
Line 7: Line 7:
 
|name=color
 
|name=color
 
|desc=A {{Struct|Color}} to set the color as
 
|desc=A {{Struct|Color}} to set the color as
 +
}}
 +
{{Arg
 +
|type=boolean
 +
|name=noTooltip
 +
|desc={{NextUpdate}}
 +
If true, the tooltip will not be reset to display the selected color.
 
}}
 
}}

Revision as of 13:48, 19 May 2019

 DColorButton:SetColor( )

DescriptionPanelFunc

Sets the color of the DColorButton.

BUG

Will reset the Tooltip to a default color string!

Issue Tracker: #3836

Pull Request: #1583

This bug will be fixed in the next update.

Arguments

table color

A Color structure to set the color as

Arguments

boolean noTooltip

Next Update Change

This feature is only available in the next update.
If true, the tooltip will not be reset to display the selected color.
Personal tools
Navigation