Notice resizing immediately, instead of on next key press

develop
Eric Wald 2016-05-15 09:14:30 -06:00
parent 6add87b358
commit 0b1004f2b8
1 changed files with 5 additions and 0 deletions

@ -798,6 +798,11 @@ screen = gui.FramedScreen {
function screen:onRenderBody(dc) function screen:onRenderBody(dc)
-- Emulates the built-in manager screen. -- Emulates the built-in manager screen.
if not (self.page_size == self.frame_rect.height - ExtraLines) then
-- The screen size has changed.
self:refilter()
end
-- Top instruction line. -- Top instruction line.
dc:seek(1, 1):string("Type in parts of the name to narrow your search. ", COLOR_WHITE) dc:seek(1, 1):string("Type in parts of the name to narrow your search. ", COLOR_WHITE)
dc:key("LEAVESCREEN"):string(" to abort.", COLOR_WHITE) dc:key("LEAVESCREEN"):string(" to abort.", COLOR_WHITE)