dromara/newcar

Browser gets lagged when set click for the widget

sheepbox8646 opened this issue · 0 comments

export const scene3 = new nc.Scene(
  new nc.Arrow([50, 350], [350, 50])
    .animate(nc.create, 0, 30)
    .on(nc.click, (w, x, y) => {
      console.log(w, x, y)
    })
)

No matter what browser I use, it will get stucked always, and it just happed in the Widget.on was be called

Gain

50CNY