mirror of
https://github.com/anotherhadi/ilovetui.git
synced 2026-10-05 19:08:25 +02:00
@@ -24,7 +24,7 @@ export function stepTabValue(items: TabItem[], value: string, delta: number): st
|
|||||||
}
|
}
|
||||||
|
|
||||||
function innerWidth(label: string): number {
|
function innerWidth(label: string): number {
|
||||||
return label.length + 2;
|
return [...label].length + 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
function segmentWidth(label: string): number {
|
function segmentWidth(label: string): number {
|
||||||
|
|||||||
Reference in New Issue
Block a user