mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[escher] Fix buffer choice in TextField::glyphFrameAtPosition
This commit is contained in:
@@ -426,7 +426,8 @@ bool TextArea::ContentView::removeStartOfLine() {
|
||||
return false;
|
||||
}
|
||||
|
||||
KDRect TextArea::ContentView::glyphFrameAtPosition(const char * position) const {
|
||||
KDRect TextArea::ContentView::glyphFrameAtPosition(const char * text, const char * position) const {
|
||||
assert(text == m_text.text());
|
||||
KDSize glyphSize = m_font->glyphSize();
|
||||
Text::Position p = m_text.positionAtPointer(position);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user