darthdeus / comfy

Comfy is a fun 2D game engine built in Rust. It's designed to be opinionated, productive, and easy to use.

Home Page:https://comfyengine.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
                    );