mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[travis] Add protection against unscaled sizes
As pointed out by @poire-z * [fix, UX] SkimToWidget scaling * [fix] Button scaling * [fix, UX] Scale ProgressWidget * [fix, UX] Scale confirmbox * [fix, UX] Scale just about everything
This commit is contained in:
@@ -8,8 +8,8 @@ describe("ProgressWidget widget", function()
|
||||
|
||||
it("should not crash with nil self.last", function()
|
||||
local progress = ProgressWidget:new{
|
||||
width = 100,
|
||||
height = 50,
|
||||
width = Screen:scaleBySize(100),
|
||||
height = Screen:scaleBySize(50),
|
||||
percentage = 5/100,
|
||||
ticks = {1},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user