fix status bar
This commit is contained in:
parent
415f179bd1
commit
c77804a1f5
2
vendor/lite/data/core/statusview.lua
vendored
2
vendor/lite/data/core/statusview.lua
vendored
|
@ -57,7 +57,7 @@ local function draw_items(self, items, x, y, draw_fn)
|
||||||
local color = style.text
|
local color = style.text
|
||||||
|
|
||||||
for _, item in ipairs(items) do
|
for _, item in ipairs(items) do
|
||||||
if type(item) == "userdata" then
|
if type(item) == "userdata" or (type(item) == "table" and item.get_width) then
|
||||||
font = item
|
font = item
|
||||||
elseif type(item) == "table" then
|
elseif type(item) == "table" then
|
||||||
color = item
|
color = item
|
||||||
|
|
Loading…
Reference in a new issue