Skip to content

Improvements to breadcrumbs - #1067

Merged
Wouter01 merged 2 commits into
CodeEditApp:mainfrom
Wouter01:breadcrumbs-improvements
Feb 20, 2023
Merged

Improvements to breadcrumbs#1067
Wouter01 merged 2 commits into
CodeEditApp:mainfrom
Wouter01:breadcrumbs-improvements

Conversation

@Wouter01

Copy link
Copy Markdown
Member

Description

This PR adds some small improvements to the breadcrumbs view, specifically:

  • The root folder is now also clickable
  • Fixed an issue with the click hitbox
  • Click-and-drag works now
  • Removed GeometryReader + custom method for calculating position to show menu

Most of these things were fixed by changing to an NSPopUpButton, which does all of these things out of the box. This also fixes a bug which would occur when split views are implemented, as the previous calculation of the position for the menu wouldn't be correct anymore.

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • I documented my code
  • Review requested

Screenshots

Scherm­afbeelding 2023-02-20 om 04 22 43

Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01 Wouter01 added the enhancement New feature or request label Feb 20, 2023
@Wouter01 Wouter01 self-assigned this Feb 20, 2023
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01
Wouter01 enabled auto-merge (squash) February 20, 2023 03:25
@Wouter01
Wouter01 merged commit 766eaa6 into CodeEditApp:main Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants