(fps: number)
| 240 | * A simpler alternative to the full debug panel. |
| 241 | */ |
| 242 | export function fpsCounter(fps: number): VNode { |
| 243 | return ui.text(`FPS: ${formatNumber(fps, 0)}`, { style: getFpsStyle(fps) }); |
| 244 | } |
| 245 | |
| 246 | /** |
| 247 | * Create a minimal error badge widget. |
nothing calls this directly
no test coverage detected