| Index: sky/engine/core/rendering/RenderText.cpp
|
| diff --git a/sky/engine/core/rendering/RenderText.cpp b/sky/engine/core/rendering/RenderText.cpp
|
| index a5d0938f26e504cebd49dffdbb1650aa3294a4af..5d5b1a500be553170b6e97d0a6f0fb469be00476 100644
|
| --- a/sky/engine/core/rendering/RenderText.cpp
|
| +++ b/sky/engine/core/rendering/RenderText.cpp
|
| @@ -604,7 +604,7 @@ LayoutRect RenderText::localCaretRect(InlineBox* inlineBox, int caretOffset, Lay
|
| left = std::max(left, rootLeft);
|
| }
|
|
|
| - return style()->isHorizontalWritingMode() ? IntRect(left, top, caretWidth, height) : IntRect(top, left, height, caretWidth);
|
| + return IntRect(left, top, caretWidth, height);
|
| }
|
|
|
| ALWAYS_INLINE float RenderText::widthFromCache(const Font& f, int start, int len, float xPos, TextDirection textDirection, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const
|
|
|