that'll teach me not to test v2

This commit is contained in:
Izaya 2022-08-25 15:16:28 +10:00
parent ae04bc4375
commit a39a14c61b

View File

@ -45,9 +45,9 @@ function navbar.new(s)
screen = s screen = s
}) })
function rnavbar.reflow() function rnavbar.reflow()
rnavbar.position = landscape and "left" or "bottom", rnavbar.position = landscape and "left" or "bottom"
rnavbar.height = (portrait and navbar.iconSize) or nil, rnavbar.height = (portrait and navbar.iconSize) or nil
rnavbar.width = (landscape and navbar.iconSize) or nil, rnavbar.width = (landscape and navbar.iconSize) or nil
rnavbar:setup({ rnavbar:setup({
layout = landscape and wibox.layout.ratio.vertical or wibox.layout.ratio.horizontal, launcher_button, switcher_button, kb_button layout = landscape and wibox.layout.ratio.vertical or wibox.layout.ratio.horizontal, launcher_button, switcher_button, kb_button
}) })