DColorButton/SetColor

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Default value)
Line 13: Line 13:
 
|desc={{NextUpdate}}
 
|desc={{NextUpdate}}
 
If true, the tooltip will not be reset to display the selected color.
 
If true, the tooltip will not be reset to display the selected color.
 +
|default=false
 
}}
 
}}

Revision as of 21:00, 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=false

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