mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
auto adaptation for much smaller screen
This commit is contained in:
@@ -9,6 +9,7 @@ local LineWidget = Widget:new{
|
||||
}
|
||||
|
||||
function LineWidget:paintTo(bb, x, y)
|
||||
if self.style == "none" then return end
|
||||
if self.style == "dashed" then
|
||||
for i = 0, self.dimen.w - 20, 20 do
|
||||
bb:paintRect(x + i, y,
|
||||
|
||||
Reference in New Issue
Block a user