From dc473e85a95d9fd507c9873686e173f9fbabef31 Mon Sep 17 00:00:00 2001 From: Tigran Aivazian Date: Fri, 14 Sep 2012 17:38:02 +0100 Subject: [PATCH] Calculator: on exit from help page refresh the screen properly (i.e. fully) --- inputbox.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inputbox.lua b/inputbox.lua index 4b2b0c470..dafc7c286 100644 --- a/inputbox.lua +++ b/inputbox.lua @@ -556,11 +556,10 @@ function InputBox:showHelpPage(list, title) HelpPage:show(0, fb.bb:getHeight()-165, list, title) -- on the helppage-exit, making inactive helpage fb.bb:dimRect(0, 40, fb.bb:getWidth(), fb.bb:getHeight()-205, self.input_bg) - fb:refresh(1, 0, 40, fb.bb:getWidth(), fb.bb:getHeight()-205) -- and active input slot self:refreshText() self.cursor:draw() -- show cursor = ready to input - fb:refresh(1, self.input_start_x-5, self.ypos, self.input_slot_w, self.h) + fb:refresh(1) end function InputBox:setCalcMode()