diff --git a/.changelog/lang_zh-Hans.json b/.changelog/lang_zh-Hans.json index 6a63b729..a6abe0ea 100644 --- a/.changelog/lang_zh-Hans.json +++ b/.changelog/lang_zh-Hans.json @@ -16,6 +16,7 @@ "UiObjectCollection 实例缺失自身方法及属性的问题" ], "improvement": [ + "恢复日志活动窗口单个条目文本内容的双击或长按选择功能", "脚本项目识别在 project.json 损坏情况下尽可能还原关键信息", "打包单文件时自动生成的包名后缀支持将简体中文转换为拼音 (支持多音字)", "UiSelector#findOnce 及 UiSelector#find 方法支持负数参数", diff --git a/app/src/main/java/org/autojs/autojs/core/console/ConsoleView.java b/app/src/main/java/org/autojs/autojs/core/console/ConsoleView.java index 76181da0..6f165b8f 100644 --- a/app/src/main/java/org/autojs/autojs/core/console/ConsoleView.java +++ b/app/src/main/java/org/autojs/autojs/core/console/ConsoleView.java @@ -389,10 +389,8 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener @Override public void onBindViewHolder(ViewHolder holder, int position) { - ConsoleImpl.LogEntry logEntry = mLogEntries.get(position); - TextView textView = holder.textView; - + ConsoleImpl.LogEntry logEntry = mLogEntries.get(position); textView.setText(logEntry.content); Integer color = mColors.get(logEntry.level); if (color != null) { @@ -403,9 +401,6 @@ public class ConsoleView extends FrameLayout implements ConsoleImpl.LogListener } else { textSize = DisplayUtils.pxToSp(textView.getTextSize()); } - textView.setClickable(false); - textView.setLongClickable(false); - textView.setTextIsSelectable(false); } public void setTextSize(float size) { diff --git a/app/src/main/res/layout/console_view.xml b/app/src/main/res/layout/console_view.xml index 6fa8942d..1fc0cad2 100644 --- a/app/src/main/res/layout/console_view.xml +++ b/app/src/main/res/layout/console_view.xml @@ -7,8 +7,6 @@ diff --git a/app/src/main/res/layout/console_view_item.xml b/app/src/main/res/layout/console_view_item.xml index 24f97451..26a54aae 100644 --- a/app/src/main/res/layout/console_view_item.xml +++ b/app/src/main/res/layout/console_view_item.xml @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/version.properties b/version.properties index 5c6b4c36..6371c74c 100644 --- a/version.properties +++ b/version.properties @@ -1,5 +1,5 @@ -#Tue Dec 24 20:40:53 CST 2024 -BUILD_TIME=1735044053799 +#Tue Dec 24 23:39:23 CST 2024 +BUILD_TIME=1735054763832 COMPILE_SDK_VERSION=34 JAVA_VERSION=23 JAVA_VERSION_MIN_RADICAL=0 @@ -17,6 +17,6 @@ RAPID_OCR_OPENCV_MOBILE_LABEL_VERSION=13 RAPID_OCR_OPENCV_MOBILE_VERSION=4.5.3 TARGET_SDK_VERSION=34 TARGET_SDK_VERSION_INRT=29 -VERSION_BUILD=2920 +VERSION_BUILD=2921 VERSION_NAME=6.6.1 Alpha2 VSCODE_EXT_REQUIRED_VERSION=1.0.8