image_button_without_c has baked in text color
shosanna opened this issue · comments
I need to change the text color for image_button_without_c
but it is now baked in (white).
I want to call it something like this, with the last parameter being the text color.
let buy_button = image_button_without_c(
"Buy",
&mut cached_loader_mut(),
egui(),
ui,
"scroll",
params.clone(),
BLACK
);