New Preset Browser LAF?
-
Saw there's been some additions in latest commit?
-
@DanH Yup
laf.registerFunction("createPresetBrowserIcons", function(id) { if (id == "favorite_on") return myOnPath; if (id == "favorite_off") return myOffPath; });
I found though it doesn't seem to work with a path that's just an outline, it will fill it in.
-
@d-healey cool thanks, are there any other id's? searchIcon?
-
@DanH Yeah but you're better off using the
drawPresetBrowserSearchBar
function which also lets you draw the icon. I think it would be good to have adrawFavouriteButton
function as well, then we could change the colour and opacity of the favourite button too, but changing the icon is a good start.