Update UI (#169)

Port Box2D UI update
This commit is contained in:
Erin Catto 2026-09-24 13:43:40 -07:00 • committed by GitHub
commit 8fda30e5a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 569 additions and 436 deletions

View file

@ -236,6 +236,10 @@ static void OnEvent( const sapp_event* e )
s_context.showMetrics = !s_context.showMetrics;
break;
case SAPP_KEYCODE_I:
s_context.showProfile = !s_context.showProfile;
break;
case SAPP_KEYCODE_R:
SelectSample( &s_context, s_context.sampleIndex, true );
break;