You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update trace following and resource bar touches other resource bars. (Metta-AI#248)
### TL;DR Enhanced the trace visualization in the player with improved zoom, layout, and selection behavior. ### What changed? - Changed default zoom level from 1 to 1/2 for better visibility - Added inventory padding (16px) and defined trace constants - Implemented separate follow flags for map and trace selections - Added visualization for inactive actions in the trace with low opacity - Improved reward icon positioning in the trace view - Changed trace step indicator color from white to gray for better contrast - Fixed inventory item spacing calculation to account for padding - Improved selection behavior between map and trace panels - Updated the trace visualization image ### How to test? 1. Run the player and load a replay 2. Select an agent in the trace view and verify it's properly highlighted in the map 3. Check that the inventory items have proper padding and spacing 4. Verify that inactive actions appear with low opacity in the trace 5. Test that the follow behavior works correctly when selecting agents 6. Confirm that the reward icons are properly centered in the trace view ### Why make this change? These improvements enhance the usability and visual clarity of the trace visualization, making it easier to track agent actions and rewards over time. The separate follow flags provide better control when navigating between the map and trace views, while the adjusted zoom level and improved spacing make the interface more readable.
0 commit comments