the focus indicator line for prompt buttons wasn't being displayed, since the texture type was no longer being set
This commit is contained in:
parent
b889d86e63
commit
58788c7817
1 changed files with 3 additions and 7 deletions
|
@ -351,14 +351,10 @@ static void prompt_resize(ObPrompt *self, gint w, gint h)
|
|||
static void setup_button_focus_tex(ObPromptElement *e, RrAppearance *a,
|
||||
gboolean on)
|
||||
{
|
||||
gint l, r, t, b;
|
||||
gint i, l, r, t, b;
|
||||
|
||||
if (!on) {
|
||||
gint i;
|
||||
|
||||
for (i = 1; i < 5; ++i)
|
||||
a->texture[i].type = on ? RR_TEXTURE_LINE_ART : RR_TEXTURE_NONE;
|
||||
}
|
||||
for (i = 1; i < 5; ++i)
|
||||
a->texture[i].type = on ? RR_TEXTURE_LINE_ART : RR_TEXTURE_NONE;
|
||||
|
||||
if (!on) return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue