WIP components (as built)
This commit is contained in:
71 files changed
+3241
-468
No files matched your search
+2
-2
@@ -6,9 +6,9 @@ import (
|
||||
"mujicaui/internal"
|
||||
)
|
||||
|
||||
// PulseLoader shows one dot breathing between 60% and full size; never a halo.
|
||||
// PulseLoader shows one dot gently breathing, without a halo.
|
||||
func PulseLoader(c *ui.Context, opts LoaderOptions) *ui.Element {
|
||||
return loaderMark(c, opts, 1, 1600, func(p *ui.Painter, r ui.Rect, t float64, col ui.Color, still bool) {
|
||||
return loaderMark(c, opts, "pulse_loader", 1, 1600, func(p *ui.Painter, r ui.Rect, t float64, col ui.Color, still bool) {
|
||||
s, a := float32(1), float32(1)
|
||||
if !still {
|
||||
w := loaderWave(t)
|
||||
|
||||
Reference in new issue
Block a user