Thread: 3.1 Update
View Single Post
08/16/17, 05:11 PM   #40
Weolo
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 79
@Enodoc either go with
Lua Code:
  1. ZO_ColorDef.FromInterfaceColor(colorType, fieldValue)
Using the dot instead, or just use this instead, which I think is better
Lua Code:
  1. ZO_ColorDef:New(GetInterfaceColor(colorType, fieldValue))

So for you that would be
Lua Code:
  1. ZO_ColorDef:New(GetInterfaceColor(INTERFACE_COLOR_TYPE_KEEP_TOOLTIP,KEEP_TOOLTIP_COLOR_ACCESSIBLE))
  Reply With Quote