Plutonium icon indicating copy to clipboard operation
Plutonium copied to clipboard

There's a bug in elm_Button.cpp

Open wetor opened this issue 4 years ago • 1 comments

Button::Button(s32 X, s32 Y, s32 Width, s32 Height, String Content, Color TextColor, Color Color) about "TextColor" and "Color"

in the constructor:

        this->clr = Color;
        this->ntex = render::RenderText(this->fnt, Content, TextColor); 

and in Button::SetContent(String Content): this->ntex = render::RenderText(this->fnt, Content, this->clr); This is an obvious mistake.

wetor avatar Sep 14 '19 08:09 wetor

True, will correct it, thanks for pointing it out

XorTroll avatar Sep 14 '19 09:09 XorTroll