Private/Protected Markdown fix, added run for bigfont

This commit is contained in:
Robert Jelic
2025-09-14 12:11:09 +02:00
parent ccf9a0717c
commit e10d3c1ae8
2 changed files with 26 additions and 15 deletions

View File

@@ -146,8 +146,11 @@ local VisualElement = elementManager.getElement("VisualElement")
---@configDefault false
--- The BigFont element is a text element that displays larger text. It uses Wojbie's BigFont API to render the text in a larger font size. Credits to Wojbie for the original API.
--- @usage local font = main:addBigFont()
--- @usage font:setText("Hello World!")
--- @run local basalt = require("basalt")
--- @run local main = basalt.getMainFrame()
--- @run local font = main:addBigFont()
--- @run font:setText("Hello World!")
--- @run basalt.run()
---@class BigFont : VisualElement
local BigFont = setmetatable({}, VisualElement)
BigFont.__index = BigFont