mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Double display name offset
This commit is contained in:
parent
687f9dda4a
commit
2ba6bd3afc
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ void Avatar::renderDisplayName(gpu::Batch& batch, const ViewFrustum& frustum) co
|
|||
const int text_y = -nameDynamicRect.height() / 2;
|
||||
|
||||
// Compute background position/size
|
||||
static const float SLIGHTLY_IN_FRONT = 0.05f;
|
||||
static const float SLIGHTLY_IN_FRONT = 0.1f;
|
||||
const int border = 0.1f * nameDynamicRect.height();
|
||||
const int left = text_x - border;
|
||||
const int bottom = text_y - border;
|
||||
|
|
Loading…
Reference in a new issue