import { bg, uiElement, floatingMenu, mainBar, text, modeNotInUse, padButtons } from "../../js/color"; import { JuPadBody, JuPadButtons } from "../../js/svg"; import showStatus from "../../stear/extra/Pages/showStatus"; import { SWindow, s, SFrame } from "../../stear/main"; import { fadein, fadeout, subCancel } from "../../stear/utils"; export default new SWindow({ call: async (stear, { find, resolve, close, render, call, event, include }, animation) => { console.log(animation) event.onloaded = () => { fadein(find.main, 200, true); } event.onresolve = async () => { await fadeout(find.main); } let cancelSub = subCancel(() => { resolve(false); }) return
{ cancelSub(); resolve(false); } }}>❌
{JuPadButtons.map((b,i)=>void call(showStatus,{text:"clicked: "+i})}} d={b} />)} { animation.name = e.target.value; } }}/>
; } })