summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Loots <ole@monochrom.net>2013-12-04 01:38:36 +0100
committerOle Loots <ole@monochrom.net>2013-12-04 01:38:36 +0100
commit480f33e18afb7f89cf208d5055705f38a14d00ec (patch)
treee03c0c15c55d4ef2b56c47ad05558136eacf8613
parente4c8eeb4b049ca05d93b0e698e6f5ae3f0743eac (diff)
downloadnetsurf-480f33e18afb7f89cf208d5055705f38a14d00ec.tar.gz
netsurf-480f33e18afb7f89cf208d5055705f38a14d00ec.tar.bz2
Redraw window on scale request.
-rw-r--r--atari/deskmenu.c6
1 files 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);
}