How do you draw text on top of a rectangle that is already drawn?
Posted: Sun Apr 02, 2017 2:47 am
I want to make little tooltips on this little interactive thing i'm making that is informative on historic events.
So, what I did was that I created a background image, added little areas that when your mouse hovers over them, draws a rectangle and is supposed to draw text over that rectangle. But that doesn't happen for some reason. oddly, I can draw another rectangle over that rectangle, but I can't draw text.
Can someone explain why this is the case and how to fix this?
So, what I did was that I created a background image, added little areas that when your mouse hovers over them, draws a rectangle and is supposed to draw text over that rectangle. But that doesn't happen for some reason. oddly, I can draw another rectangle over that rectangle, but I can't draw text.
Can someone explain why this is the case and how to fix this?