Split into category packages; module github.com/ZacharyZhang-NY/MujicaUI

This commit is contained in:
ZacharyZhang-NY committed 2026-10-05 16:18:48 -04:00
1 parent 5a7e921c7e
commit 22b53e9e9e
1822 files changed
+24568 -21314

No files matched your search

+3 -3
View File
@@ -6,7 +6,7 @@ import (
"github.com/egoist/mygo/ui"
mujica "mujicaui"
"github.com/ZacharyZhang-NY/MujicaUI/core"
)
func TestMotionPagesControlsAndEvents(t *testing.T) {
@@ -21,7 +21,7 @@ func TestMotionPagesControlsAndEvents(t *testing.T) {
}
var events []string
tt := ui.NewTester(func(c *ui.Context) {
mujica.Use(c, mujica.Settings{})
core.Use(c, core.Settings{})
ui.Column(c).Padding(16).Children(func() { p.Demo(c, func(s string) { events = append(events, s) }) })
}, 1000, 700)
tt.SetPreferences(ui.Preferences{ReduceMotion: true, TextScale: 1})
@@ -43,7 +43,7 @@ func TestMotionPagesControlsAndEvents(t *testing.T) {
func TestMotionTypewriterRestartReplays(t *testing.T) {
finished := 0
tt := ui.NewTester(func(c *ui.Context) {
mujica.Use(c, mujica.Settings{})
core.Use(c, core.Settings{})
motionTypewriterDemo(c, func(s string) {
if s == "Finished" {
finished++