Skip to content

Commit c9b1863

Browse files
committed
Public emoji parsing
1 parent 7b4e22c commit c9b1863

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/graphics/renderer/gui/font

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/graphics/renderer/gui/font/FontRenderer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FontRenderer(
2323
* @param text The text to parse.
2424
* @return A list of triples containing the emoji text, start index, and end index.
2525
*/
26-
private fun parseEmojis(text: String): List<
26+
fun parseEmojis(text: String): List<
2727
Triple<CharInfo, Int, Int>> {
2828
val result = mutableListOf<Triple<CharInfo, Int, Int>>()
2929
val matches = emojiRegex.findAll(text)

0 commit comments

Comments
 (0)