Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
manas-yu committed Jan 9, 2025
1 parent 4653d34 commit d324c4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class MathTagHandler(
}
is MathContent.MathAsLatex -> {
if (cacheLatexRendering) {
CenteredLatexImageSpan(
LatexImageSpan(
imageRetriever.loadMathDrawable(
content.rawLatex,
lineHeight,
Expand Down Expand Up @@ -144,7 +144,7 @@ class MathTagHandler(
}

/** An [ImageSpan] that vertically centers a LaTeX drawable within the surrounding text. */
private class CenteredLatexImageSpan(drawable: Drawable?) :
private class LatexImageSpan(drawable: Drawable?) :
ImageSpan(drawable ?: createEmptyDrawable()) {
override fun getSize(
paint: Paint,
Expand Down

0 comments on commit d324c4c

Please sign in to comment.