summaryrefslogtreecommitdiff
path: root/gui/glabel.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-18 17:27:20 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-18 17:27:20 -0300
commitc5951ab7bdd8dd303d4efdf9a1fcc6e14c03ccf7 (patch)
tree0f27c17ddb95aac4cd35b28e22771b17a0c5ce8f /gui/glabel.c
parentde8559be85dba1dd9ada21476a44e817d885ee75 (diff)
downloadeeshow-c5951ab7bdd8dd303d4efdf9a1fcc6e14c03ccf7.tar.gz
eeshow-c5951ab7bdd8dd303d4efdf9a1fcc6e14c03ccf7.tar.bz2
eeshow-c5951ab7bdd8dd303d4efdf9a1fcc6e14c03ccf7.zip
eeshow/gui/glabel.c (add_dest_overlay): include current sheet in list
Diffstat (limited to 'gui/glabel.c')
-rw-r--r--gui/glabel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/glabel.c b/gui/glabel.c
index dde7776..9c573e7 100644
--- a/gui/glabel.c
+++ b/gui/glabel.c
@@ -88,7 +88,8 @@ static void add_dest_overlay(struct gui_ctx *ctx, const char *label,
struct overlay *over;
if (sheet == ctx->curr_sheet)
- return;
+ style.fg = RGBA(0.5, 0.5, 0.5, 1.0);
+
for (obj = sheet->sch->objs; obj; obj = obj->next) {
if (obj->type != sch_obj_glabel)
continue;