projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
649a87f
)
Fix TextEditor setting color issues by clearing color runs
93/215193/1
author
Jiyun Yang
<ji.yang@samsung.com>
Wed, 2 Oct 2019 09:41:44 +0000
(18:41 +0900)
committer
Jiyun Yang
<ji.yang@samsung.com>
Wed, 2 Oct 2019 09:41:44 +0000
(18:41 +0900)
Change-Id: If7f04cc080a319745603eef87f72423006f45ec9
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
dali-toolkit/internal/text/text-controller.cpp
patch
|
blob
|
history
diff --git
a/dali-toolkit/internal/text/text-controller.cpp
b/dali-toolkit/internal/text/text-controller.cpp
index
2f3306b
..
fee1690
100755
(executable)
--- a/
dali-toolkit/internal/text/text-controller.cpp
+++ b/
dali-toolkit/internal/text/text-controller.cpp
@@
-1243,6
+1243,10
@@
void Controller::SetDefaultColor( const Vector4& color )
{
mImpl->mModel->mVisualModel->SetTextColor( color );
+ mImpl->mModel->mLogicalModel->mColorRuns.Clear();
+
+ mImpl->mOperationsPending = static_cast<OperationsMask>( mImpl->mOperationsPending | COLOR );
+
mImpl->RequestRelayout();
}
}