projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Fixed an incorrect ellipsis
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
rendering
/
view-model.cpp
diff --git
a/dali-toolkit/internal/text/rendering/view-model.cpp
b/dali-toolkit/internal/text/rendering/view-model.cpp
index
3543fce
..
27932b2
100755
(executable)
--- a/
dali-toolkit/internal/text/rendering/view-model.cpp
+++ b/
dali-toolkit/internal/text/rendering/view-model.cpp
@@
-349,6
+349,11
@@
void ViewModel::ElideGlyphs()
{
if( index > 0u )
{
{
if( index > 0u )
{
+ // If the index decreases to the previous line, firstPenX must be recalculated.
+ if( numberOfLaidOutGlyphs - index == lastLine.glyphRun.numberOfGlyphs)
+ {
+ firstPenSet = false;
+ }
--index;
}
else
--index;
}
else