mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-24 15:21:02 +00:00
mod
Signed-off-by: cy7717 <chenyu301@huawei.com>
This commit is contained in:
parent
95e0f13a7c
commit
876d49e0e8
@ -522,7 +522,7 @@ void JsGetInputMethodSetting::OnImeChange(const Property &property, const SubPro
|
||||
void JsGetInputMethodSetting::OnPanelStatusChange(
|
||||
const InputWindowStatus &status, const std::vector<InputWindowInfo> &windowInfo)
|
||||
{
|
||||
IMSA_HILOGI("status: %{public}d", static_cast<uint32_t>(status));
|
||||
IMSA_HILOGI("status: %{public}u", static_cast<uint32_t>(status));
|
||||
std::string type = status == InputWindowStatus::SHOW ? "imeShow" : "imeHide";
|
||||
uv_work_t *work = GetUVwork(type, [&windowInfo](UvEntry &entry) { entry.windowInfo = windowInfo; });
|
||||
if (work == nullptr) {
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
static napi_status GetValue(napi_env env, napi_value in, const std::string &type, napi_value &out);
|
||||
static napi_status GetValue(napi_env env, napi_value in, PanelInfo &out);
|
||||
static napi_value GetValue(napi_env env, const std::vector<InputWindowInfo> &in);
|
||||
static napi_value GetValue(napi_env env, const InputWindowInfo &in);
|
||||
static napi_value GetValue(napi_env env, const InputWindowInfo &in);
|
||||
|
||||
private:
|
||||
static int32_t Convert(int32_t code);
|
||||
|
Loading…
Reference in New Issue
Block a user