4 lines
299 B
TypeScript
4 lines
299 B
TypeScript
export function shouldMeasureSidebarLabelOverflow(options: { hasDetailTooltip: boolean; isRenaming: boolean; usesFullWidthLabel: boolean; tooltipsDisabled: boolean }): boolean {
|
|
return !options.tooltipsDisabled && !options.isRenaming && !options.hasDetailTooltip && !options.usesFullWidthLabel;
|
|
}
|