summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-29 01:24:11 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-29 01:26:05 -0300
commita8384239c95cd514662c928f0b6023415024579a (patch)
tree69a31176629b2c5b572d7a05bc6e197b515ccd38 /gui
parent14c368e003feb2dfd83429bee459e6499bb0be8d (diff)
downloadeeshow-a8384239c95cd514662c928f0b6023415024579a.tar.gz
eeshow-a8384239c95cd514662c928f0b6023415024579a.tar.bz2
eeshow-a8384239c95cd514662c928f0b6023415024579a.zip
gui/history.c (history_draw_event): dim the sheet (like in index mode)
Diffstat (limited to 'gui')
-rw-r--r--gui/history.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/history.c b/gui/history.c
index 52c8550..3939a3e 100644
--- a/gui/history.c
+++ b/gui/history.c
@@ -33,11 +33,11 @@
void history_draw_event(const struct gui *gui, cairo_t *cr)
{
+ cairo_set_source_rgba(cr, 1, 1, 1, 0.7);
+ cairo_paint(cr);
+
overlay_draw_all_d(gui->hist_overlays, cr,
- VCS_OVERLAYS_X,
- VCS_OVERLAYS_Y +
- (gui->mode == showing_history ? gui->hist_y_offset : 0),
- 0, 1);
+ VCS_OVERLAYS_X, VCS_OVERLAYS_Y + gui->hist_y_offset, 0, 1);
}