Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions CodeEdit/Breadcrumbs/BreadcrumbsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,24 @@ struct BreadcrumbsView: View {
ZStack(alignment: .leading) {
Rectangle()
.foregroundStyle(Color(nsColor: .controlBackgroundColor))
HStack {
BreadcrumbsComponent(
projectName,
systemImage: "square.dashed.inset.filled",
color: .accentColor
)
ScrollView(.horizontal, showsIndicators: false) {
HStack {
BreadcrumbsComponent(
projectName,
systemImage: "square.dashed.inset.filled",
color: .accentColor
)

chevron
chevron

ForEach(folders, id: \.self) { folder in
BreadcrumbsComponent(folder, systemImage: "folder.fill")
chevron
}
BreadcrumbsComponent(fileName, systemImage: fileImage, color: file.iconColor)
}
.padding(.leading, 12)
ForEach(folders, id: \.self) { folder in
BreadcrumbsComponent(folder, systemImage: "folder.fill")
chevron
}
BreadcrumbsComponent(fileName, systemImage: fileImage, color: file.iconColor)
}
.padding(.horizontal, 12)
}
}
.frame(height: 29)
.overlay(alignment: .bottom) {
Expand Down
8 changes: 4 additions & 4 deletions CodeEdit/WorkspaceView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ struct WorkspaceView: View {
.frame(minWidth: 250)
HSplitView {
WorkspaceCodeFileView(windowController: windowController,
workspace: workspace)
.frame(maxWidth: .infinity, maxHeight: .infinity)
InspectorSidebar(workspace: workspace, windowController: windowController)
.frame(minWidth: 250, maxWidth: .infinity, maxHeight: .infinity)
workspace: workspace)
.frame(maxWidth: .infinity, maxHeight: .infinity)
InspectorSidebar(workspace: workspace, windowController: windowController)
.frame(minWidth: 250, maxWidth: .infinity, maxHeight: .infinity)
}
} else {
EmptyView()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ internal struct StatusBarBranchPicker: View {
.font(model.toolbarFont)
}
.menuStyle(.borderlessButton)
.fixedSize()
.onHover { isHovering($0) }

@lukepistrol lukepistrol Mar 23, 2022

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this change can be omitted since it was already fixed in #196

}
}