mirror of
https://github.com/KOHGYLW/kiftd-source.git
synced 2025-01-08 12:07:47 +08:00
update to v1.2.0 细节优化
This commit is contained in:
parent
d5813216b8
commit
30cb0851e2
@ -286,7 +286,7 @@ public class FilesTable extends JTable {
|
||||
* @return Object 被双击的项目,如果是文件夹则返回Folder对象,如果是文件则返回Node对象。如果非双击操作则返回null。
|
||||
*/
|
||||
public Object getDoubleClickItem(MouseEvent e) {
|
||||
if (e.getClickCount() == 2) {
|
||||
if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() == 2) {
|
||||
int row = rowAtPoint(e.getPoint());
|
||||
if (row >= 0 && row < folders.size()) {
|
||||
return folders.get(row);
|
||||
|
@ -1,5 +1,5 @@
|
||||
#Generated by Maven Integration for Eclipse
|
||||
#Fri Dec 29 23:07:37 CST 2023
|
||||
#Fri Dec 29 23:20:32 CST 2023
|
||||
m2e.projectLocation=/Users/kohgylw/Programs/java_workspace/kiftd
|
||||
m2e.projectName=kiftd
|
||||
groupId=kohgylw
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user