mirror of
https://github.com/nicbarker/clay.git
synced 2025-09-18 12:36:17 +00:00
Merge 10328fde95
into 9d38edb989
This commit is contained in:
commit
a638722b49
|
@ -430,7 +430,7 @@ UI :: proc() -> proc (config: ElementDeclaration) -> bool {
|
||||||
return ConfigureOpenElement
|
return ConfigureOpenElement
|
||||||
}
|
}
|
||||||
|
|
||||||
Text :: proc($text: string, config: ^TextElementConfig) {
|
Text :: proc(text: string, config: ^TextElementConfig) {
|
||||||
wrapped := MakeString(text)
|
wrapped := MakeString(text)
|
||||||
wrapped.isStaticallyAllocated = true
|
wrapped.isStaticallyAllocated = true
|
||||||
_OpenTextElement(wrapped, config)
|
_OpenTextElement(wrapped, config)
|
||||||
|
|
Loading…
Reference in a new issue