mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-23 14:49:59 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
057f3b9538
commit
d967f6dee1
@ -826,8 +826,8 @@ int32_t InputMethodAbility::CreatePanel(const std::shared_ptr<AbilityRuntime::Co
|
||||
auto flag = panels_.ComputeIfAbsent(
|
||||
panelInfo.panelType, [panelHeightCallback, &panelInfo, &context, &inputMethodPanel](
|
||||
const PanelType &panelType, std::shared_ptr<InputMethodPanel> &panel) {
|
||||
inputMethodPanel->SetPanelHeightCallback(panelHeightCallback);
|
||||
inputMethodPanel = std::make_shared<InputMethodPanel>();
|
||||
inputMethodPanel->SetPanelHeightCallback(panelHeightCallback);
|
||||
auto ret = inputMethodPanel->CreatePanel(context, panelInfo);
|
||||
if (ret == ErrorCode::NO_ERROR) {
|
||||
panel = inputMethodPanel;
|
||||
|
Loading…
Reference in New Issue
Block a user