From: xue <2144439972@qq.com> Date: Mon, 8 Jun 2026 10:36:16 +0000 (+0800) Subject: 修复眼形映射 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F3443%2F2;p=mirrors%2FFD230.git 修复眼形映射 --- diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp index 76337b68d..2cbba842f 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdModel.cpp @@ -90,12 +90,12 @@ namespace { // CloseEyes 内置资源目录中 calm-eyes / round-eyes 文件夹与业务眼型命名相反,仅映射内置眨眼资源 static std::string MapCloseEyesResourceShape(const std::string &eyesShape) { - // if (eyesShape == "calm-eyes") { - // return "round-eyes"; - // } - // if (eyesShape == "round-eyes") { - // return "calm-eyes"; - // } + if (eyesShape == "calm-eyes") { + return "round-eyes"; + } + if (eyesShape == "round-eyes") { + return "calm-eyes"; + } return eyesShape; }