Handle focus
This commit is contained in:
parent
4b4b64a6b8
commit
baf1ae03de
@ -349,9 +349,12 @@ static int renderChannel(struct TrackInfo* info, int startX, int editRow, Track*
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trackData->selected)
|
if (!Emgui_hasKeyboardFocus())
|
||||||
{
|
{
|
||||||
Emgui_fill(trackData->group->folded ? dark_active_track_color : active_track_color, startX, info->midPos, size, font_size + 1);
|
if (trackData->selected)
|
||||||
|
{
|
||||||
|
Emgui_fill(trackData->group->folded ? dark_active_track_color : active_track_color, startX, info->midPos, size, font_size + 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Emgui_setFont(info->viewInfo->smallFontId);
|
Emgui_setFont(info->viewInfo->smallFontId);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user