Files
dbx/apps/desktop/src/lib/sidebarLabelTooltip.ts
T

4 lines
243 B
TypeScript

export function shouldMeasureSidebarLabelOverflow(options: { hasDetailTooltip: boolean; isRenaming: boolean; usesFullWidthLabel: boolean }): boolean {
return !options.isRenaming && !options.hasDetailTooltip && !options.usesFullWidthLabel;
}