diff --git a/lib/simple_ui/element.lua b/lib/simple_ui/element.lua index d73e462..fb620bf 100644 --- a/lib/simple_ui/element.lua +++ b/lib/simple_ui/element.lua @@ -39,7 +39,10 @@ end --- Рисует границу вокруг элемента (с псевдо-затенением) --- @param type "outer" | "inner" -function uiElement:drawBorder(type) +--- @param width? number +function uiElement:drawBorder(type, width) + love.graphics.setLineWidth(width or 4) + if type == "inner" then love.graphics.setColor(0.2, 0.2, 0.2) love.graphics.line({