#149 validate display sizes on startup
This commit is contained in:
@@ -39,6 +39,8 @@ local function make(parent, x, y, unit)
|
||||
height = 25
|
||||
end
|
||||
|
||||
assert(parent.height() >= (y + height), "main display not of sufficient vertical resolution (add an additional row of monitors)")
|
||||
|
||||
-- bounding box div
|
||||
local root = Div{parent=parent,x=x,y=y,width=80,height=height}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user