mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher/src/text_area] Add char limit in text_area line
Change-Id: I9284936f0202d788edc785aa3f7c82b45ab34cf5
This commit is contained in:
committed by
Émilie Feral
parent
51002066e9
commit
b92c819ea2
@@ -30,6 +30,7 @@ KDSize KDFont::stringSizeUntil(const char * text, const char * limit) const {
|
||||
currentStringPosition = decoder.stringPosition();
|
||||
codePoint = decoder.nextCodePoint();
|
||||
}
|
||||
assert(stringSize.width() >= 0 && stringSize.height() >= 0);
|
||||
return stringSize;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user