Calculator: on exit from help page refresh the screen properly (i.e. fully)

This commit is contained in:
Tigran Aivazian
2012-09-14 17:38:02 +01:00
parent b0febe2d9b
commit dc473e85a9

View File

@@ -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()