mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-04 23:29:42 +02:00
eeshow/gui/sheet.c (add_delta): show inverted greek delta when in delta mode
This commit is contained in:
parent
c06680e272
commit
1e13572283
@ -198,7 +198,10 @@ static void add_delta(struct gui_ctx *ctx)
|
||||
if (ctx->old_hist && ctx->diff_mode == diff_delta)
|
||||
style.frame = RGBA(0, 0, 0, 1);
|
||||
overlay_style(over, &style);
|
||||
overlay_text(over, "Δ");
|
||||
if (use_delta)
|
||||
overlay_text(over, "∇");
|
||||
else
|
||||
overlay_text(over, "Δ");
|
||||
}
|
||||
|
||||
|
||||
@ -524,6 +527,7 @@ static void sheet_key(void *user, int x, int y, int keyval)
|
||||
|
||||
case GDK_KEY_a:
|
||||
use_delta = !use_delta;
|
||||
do_revision_overlays(ctx);
|
||||
redraw(ctx);
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user