yes, I'm very commit lazy

This commit is contained in:
2023-03-19 19:22:02 +01:00
parent 4f3fb75687
commit f399235db0
107 changed files with 11120 additions and 10906 deletions

View File

@@ -23,6 +23,7 @@
-- @supermodule wibox.widget.base
---------------------------------------------------------------------------
---@diagnostic disable-next-line: deprecated
local unpack = unpack or table.unpack -- luacheck: globals unpack (compatibility with Lua 5.1)
local base = require("wibox.widget.base")
local table = table
@@ -363,7 +364,7 @@ function fixed:fit(context, orig_width, orig_height)
local is_enough
if is_y then
is_enough = h > 0 and height_left >= h
is_enough = height_left >= h
if is_enough then
used_max = math.max(used_max, w)