auto adaptation for much smaller screen
This commit is contained in:
1 parent
449445d95d
commit
9f4f5fa451
4 files changed
+48
-27
No files matched your search
@@ -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