From 93c151512fdff7b5300f8676ab59926912400671 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 28 Jul 2015 16:51:01 -0700 Subject: [PATCH] GUAC-1195: Migrate to scrollbar style which works against dark OR light backgrounds. --- src/terminal/scrollbar.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/terminal/scrollbar.c b/src/terminal/scrollbar.c index 9727c389..785e909a 100644 --- a/src/terminal/scrollbar.c +++ b/src/terminal/scrollbar.c @@ -243,7 +243,7 @@ void guac_terminal_scrollbar_flush(guac_terminal_scrollbar* scrollbar) { new_state.container_height); guac_protocol_send_cfill(socket, GUAC_COMP_SRC, scrollbar->container, - 0x40, 0x40, 0x40, 0xFF); + 0x80, 0x80, 0x80, 0x40); } @@ -274,11 +274,7 @@ void guac_terminal_scrollbar_flush(guac_terminal_scrollbar* scrollbar) { new_state.handle_height); guac_protocol_send_cfill(socket, GUAC_COMP_SRC, scrollbar->handle, - 0x80, 0x80, 0x80, 0xFF); - - guac_protocol_send_cstroke(socket, GUAC_COMP_OVER, scrollbar->handle, - GUAC_LINE_CAP_SQUARE, GUAC_LINE_JOIN_MITER, 2, - 0xA0, 0xA0, 0xA0, 0xFF); + 0xA0, 0xA0, 0xA0, 0x8F); }