Skip to content

Commit 04f01f0

Browse files
authored
uiL Fix broken bulk settings menu (#5338)
The bulk settings menu was not showing up in the area select menu due to a change in how the menu divider works. This change just makes it so these settings appear again. <img width="592" height="434" alt="image" src="https://github.com/user-attachments/assets/e188f35a-4194-491b-932b-de1860c4e8a0" />
1 parent 183be58 commit 04f01f0

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

ui/src/assets/widgets/menu.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646

4747
.pf-menu-title {
4848
font-family: var(--pf-font-compact);
49-
font-weight: 800;
50-
font-size: var(--pf-font-size-m);
49+
font-weight: bolder;
50+
font-size: var(--pf-font-size-xs);
5151
text-transform: uppercase;
52-
// color: var(--pf-color-text-muted);
53-
padding: 3px 8px 3px 8px;
52+
color: var(--pf-color-text-muted);
53+
padding: 6px 8px 3px 8px;
5454
user-select: none;
5555
}
5656
}

ui/src/core_plugins/dev.perfetto.Timeline/timeline_toolbar.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ export class TimelineToolbar implements m.ClassComponent<TimelineToolbarAttrs> {
113113
},
114114
`Changes apply to all selected tracks`,
115115
),
116-
m(MenuDivider, {label: 'Workspace'}),
116+
m(MenuTitle, {label: 'Workspace'}),
117117
this.renderCopySelectedTracksToWorkspace(trace, selection),
118-
m(MenuDivider, {label: 'Bulk track settings'}, settingsMenuItems),
118+
m(MenuTitle, {label: 'Bulk track settings'}),
119+
settingsMenuItems,
119120
],
120121
);
121122
}

0 commit comments

Comments
 (0)