Added args fallback
This commit is contained in:
parent
c8adfe6a90
commit
0af96c00f8
|
@ -38,7 +38,7 @@ local function get_widget_geometry(wibox, widget)
|
||||||
end
|
end
|
||||||
|
|
||||||
function task_preview:show(c, args)
|
function task_preview:show(c, args)
|
||||||
args = args or {}
|
args = args or self.args or {}
|
||||||
|
|
||||||
args.coords = args.coords or self.coords
|
args.coords = args.coords or self.coords
|
||||||
args.wibox = args.wibox
|
args.wibox = args.wibox
|
||||||
|
|
Loading…
Reference in New Issue