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

SlTree: separate expand/collapse and selection behaviour in 'single' mode #1521

Merged
merged 3 commits into from
Aug 18, 2023

Commits on Aug 16, 2023

  1. Never select tree items when clicking the chevron

    This changes the behaviour of sl-tree so that clicking on the expand/collapse icon will not select/deselect the item, only toggle it's expanded state.
    grncdr committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    44204f6 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Refactor: inline SlTree.syncTreeItems

    This was only called from 2 places, and they each had different
    behaviour anyways.
    grncdr committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    a39d836 View commit details
    Browse the repository at this point in the history
  2. SlTree: separate expand/collapse from selection

    This makes 'multi' and 'single' mode consistent with each other, and
    with native file managers.
    grncdr committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    1bedaf6 View commit details
    Browse the repository at this point in the history