From 480f33e18afb7f89cf208d5055705f38a14d00ec Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Wed, 4 Dec 2013 01:38:36 +0100 Subject: Redraw window on scale request. --- atari/deskmenu.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/atari/deskmenu.c b/atari/deskmenu.c index 7e593fd54..b1dca1216 100644 --- a/atari/deskmenu.c +++ b/atari/deskmenu.c @@ -383,7 +383,8 @@ static void __CDECL menu_inc_scale(short item, short title, void *data) return; float now = plot_get_scale(); plot_set_scale(now+0.25); - LOG(("%s, scale: %f", __FUNCTION__, plot_get_scale())); + LOG(("%s, scale: %f", __FUNCTION__, plot_get_scale())); + gui_window_redraw_window(input_window); } @@ -395,7 +396,8 @@ static void __CDECL menu_dec_scale(short item, short title, void *data) if (now > 0.5) { plot_set_scale(now-0.25); } - LOG(("%s, scale: %f", __FUNCTION__, plot_get_scale())); + LOG(("%s, scale: %f", __FUNCTION__, plot_get_scale())); + gui_window_redraw_window(input_window); } -- cgit v1.2.3