Skip to content

Commit

Permalink
Update lib/wibox/container/border.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Aire-One <[email protected]>
  • Loading branch information
Elv13 and Aire-One authored Dec 31, 2023
1 parent 0e584b9 commit c4a6ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wibox/container/border.lua
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ local function fit_common(widget, ctx, max_w, max_h)
end

local function uses_slice(self)
return (self._private.border_widgets or self._private.border_image_widgets) == nil
return not (self._private.border_widgets or self._private.border_image_widgets)
end

local function get_widget(self, ctx, component)
Expand Down

0 comments on commit c4a6ffe

Please sign in to comment.