Only highlight labels when there are labels.
This commit is contained in:
parent
edfd833424
commit
ade8febfb2
1 changed files with 7 additions and 7 deletions
|
|
@ -3338,6 +3338,8 @@ static void mainloop(void)
|
||||||
update_canvas(0, 0, WINDOW_WIDTH - 96, (48 * 7) + 40 + HEIGHTOFFSET);
|
update_canvas(0, 0, WINDOW_WIDTH - 96, (48 * 7) + 40 + HEIGHTOFFSET);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (are_labels())
|
||||||
{
|
{
|
||||||
if( texttool_len > 0)
|
if( texttool_len > 0)
|
||||||
{
|
{
|
||||||
|
|
@ -3356,8 +3358,6 @@ static void mainloop(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (are_labels())
|
|
||||||
{
|
|
||||||
cur_label = LABEL_SELECT;
|
cur_label = LABEL_SELECT;
|
||||||
highlight_label_nodes();
|
highlight_label_nodes();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue