mirror of
https://github.com/orange-cpp/omath.git
synced 2026-04-18 21:43:27 +00:00
removed shit
This commit is contained in:
@@ -62,8 +62,7 @@ namespace omath::hud
|
|||||||
m_renderer->add_rectangle(bar_start - Vector2<float>(1.f, 0.f),
|
m_renderer->add_rectangle(bar_start - Vector2<float>(1.f, 0.f),
|
||||||
bar_start + Vector2<float>(width, -max_bar_height), outline_color);
|
bar_start + Vector2<float>(width, -max_bar_height), outline_color);
|
||||||
|
|
||||||
// NOTE: Move text 1 pixel horizontali due to imgui logic of rendering rectangle
|
m_text_cursor_right.x += offset + width;
|
||||||
m_text_cursor_right.x += offset + width + 1.f;
|
|
||||||
}
|
}
|
||||||
void EntityOverlay::add_left_bar(const Color& color, const Color& outline_color, const Color& bg_color,
|
void EntityOverlay::add_left_bar(const Color& color, const Color& outline_color, const Color& bg_color,
|
||||||
const float width, float ratio, const float offset) const
|
const float width, float ratio, const float offset) const
|
||||||
|
|||||||
Reference in New Issue
Block a user