Fix wibox.layout.rotate
This got broken in commit 90f7f55348
.
Thanks to crazedpsyc for reporting this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
f57bd595dc
commit
f6b43a1f1d
|
@ -47,7 +47,7 @@ function rotate:draw(wibox, cr, width, height)
|
|||
end
|
||||
|
||||
--- Fit this layout into the given area
|
||||
function rotate:fit(self, width, height)
|
||||
function rotate:fit(width, height)
|
||||
if not self.widget then
|
||||
return 0, 0
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue