fix: creature name too close to health bar#1619
Conversation
📝 WalkthroughWalkthroughAdds a safety adjustment to creature name information rendering in src/client/creature.cpp. After computing name background and text rectangles, the code ensures a minimum 2-unit vertical spacing between them. If spacing is insufficient, the background bar is shifted downward accordingly. No behavioral changes; purely layout-related. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Before:
After:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.