make GetStyleSettingBool check float instead of int

This commit is contained in:
rtldg 2021-12-28 17:35:27 +00:00
parent 4aac85d3fd
commit caeb35febd

View File

@ -420,7 +420,7 @@ public int Native_GetStyleSettingBool(Handle handler, int numParams)
bool GetStyleSettingBool(int style, char[] key)
{
return GetStyleSettingInt(style, key) != 0;
return GetStyleSettingFloat(style, key) != 0.0;
}
public any Native_GetStyleSettingFloat(Handle handler, int numParams)