mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Merge branch 'main' into blocks_meta
This commit is contained in:
commit
fb9b85ef54
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ void Label::setText(std::wstring text) {
|
|||
this->text = text;
|
||||
cache.update(this->text, multiline, textWrap);
|
||||
|
||||
if (cache.font) {
|
||||
if (cache.font && autoresize) {
|
||||
setSize(calcSize());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue