[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(folderTree): support to show active indent line #886

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

kiwiwong
Copy link
Collaborator
@kiwiwong kiwiwong commented Jun 13, 2024

简介

优化folderTree节点的缩进
优化folderTree缩进线条的交互与展示
folderTree添加onCurrentChange事件

变更

优化前:
old

优化后:
new

缩进线条激活逻辑说明

  • 激活节点为文件(叶子节点):
    所有兄弟节点的最后一个缩进线条,以及兄弟节点下所有后代节点的同一缩进位置线条激活

  • 激活节点为文件夹:
    文件夹展开时,所有后代节点的同一缩进位置线条激活
    文件夹关闭时,当前文件夹的父节点下所有后代节点的同一缩进位置线条激活

Copy link
Collaborator
@mortalYoung mortalYoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@mortalYoung mortalYoung merged commit 7f8510a into 2.x Jun 17, 2024
@mortalYoung mortalYoung deleted the feat_2.x_folderTree branch June 17, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants