From 0c9c4d7af1e4498fefbf63ae3f9a9f448cb2272d Mon Sep 17 00:00:00 2001 From: chrox Date: Mon, 22 Jul 2013 23:28:35 +0800 Subject: [PATCH] fix regional screen refresh --- frontend/ui/screen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/ui/screen.lua b/frontend/ui/screen.lua index b3cf969d3..c0a7348ff 100644 --- a/frontend/ui/screen.lua +++ b/frontend/ui/screen.lua @@ -103,7 +103,7 @@ function Screen:refresh(refesh_type, waveform_mode, x, y, w, h) x, y = self.width - w - x, self.height - h - y end end - self.fb:refresh(refesh_type, waveform_mode, x, y, w, h) + self.fb:refresh(refesh_type, waveform_mode, y, x, w, h) end function Screen:getSize()