Skip to content

Commit 887b262

Browse files
committed
wdym android can't convert gd::string to matjson::Value???
1 parent 1e85072 commit 887b262

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/popups/dev/TextEffectEditorPopup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ void TextEffectEditorPopup::onValueChanged(CCObject* sender) {
281281
case ValueType::String:
282282
{
283283
auto btn = static_cast<TextInput*>(sender);
284-
m_data.set(params->m_key, btn->getString());
284+
m_data.set(params->m_key, (std::string)btn->getString());
285285

286286
m_sampleText->clearEffects();
287287
m_sampleText->addEffectsFromProperties(m_data);

0 commit comments

Comments
 (0)