Skip to content

Commit 30cb085

Browse files
author
kohgylw
committed
update to v1.2.0 细节优化
1 parent d581321 commit 30cb085

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

‎src/main/java/kohgylw/kiftd/ui/util/FilesTable.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ protected void setValue(Object value) {
286286
* @return Object 被双击的项目,如果是文件夹则返回Folder对象,如果是文件则返回Node对象。如果非双击操作则返回null。
287287
*/
288288
public Object getDoubleClickItem(MouseEvent e) {
289-
if (e.getClickCount() == 2) {
289+
if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2) {
290290
int row = rowAtPoint(e.getPoint());
291291
if (row >= 0 && row < folders.size()) {
292292
return folders.get(row);

‎target/classes/META-INF/maven/kohgylw/kiftd/pom.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven Integration for Eclipse
2-
#Fri Dec 29 23:07:37 CST 2023
2+
#Fri Dec 29 23:20:32 CST 2023
33
m2e.projectLocation=/Users/kohgylw/Programs/java_workspace/kiftd
44
m2e.projectName=kiftd
55
groupId=kohgylw
30 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)