mirror of
https://github.com/Maks1mS/bubbles.git
synced 2024-12-24 14:44:38 +03:00
feat: new Hamburger + Meter spinners (#172)
Co-authored-by: Maas Lalani <maas@lalani.dev>
This commit is contained in:
parent
93e464296e
commit
658a4febc7
@ -67,6 +67,22 @@ var (
|
|||||||
Frames: []string{"🙈", "🙉", "🙊"},
|
Frames: []string{"🙈", "🙉", "🙊"},
|
||||||
FPS: time.Second / 3, //nolint:gomnd
|
FPS: time.Second / 3, //nolint:gomnd
|
||||||
}
|
}
|
||||||
|
Meter = Spinner{
|
||||||
|
Frames: []string{
|
||||||
|
"▱▱▱",
|
||||||
|
"▰▱▱",
|
||||||
|
"▰▰▱",
|
||||||
|
"▰▰▰",
|
||||||
|
"▰▰▱",
|
||||||
|
"▰▱▱",
|
||||||
|
"▱▱▱",
|
||||||
|
},
|
||||||
|
FPS: time.Second / 7, //nolint:gomnd
|
||||||
|
}
|
||||||
|
Hamburger = Spinner{
|
||||||
|
Frames: []string{"☱", "☲", "☴", "☲"},
|
||||||
|
FPS: time.Second / 3, //nolint:gomnd
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
// Model contains the state for the spinner. Use NewModel to create new models
|
// Model contains the state for the spinner. Use NewModel to create new models
|
||||||
|
Loading…
Reference in New Issue
Block a user