mirror of
https://github.com/Trensa-Organization/hy3.git
synced 2025-03-15 10:43:40 +01:00
Fix tab rounding on non 1.0 dpi values
This commit is contained in:
parent
102e652fe9
commit
4830a2cf3c
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ void Hy3TabBarEntry::prepareTexture(float scale, CBox& box) {
|
|||
auto width = box.width;
|
||||
auto height = box.height;
|
||||
|
||||
auto rounding = std::min((double) *s_rounding, std::min(width * 0.5, height * 0.5));
|
||||
auto rounding = std::min((double) *s_rounding * scale, std::min(width * 0.5, height * 0.5));
|
||||
|
||||
if (this->texture.m_iTexID == 0
|
||||
// clang-format off
|
||||
|
|
Loading…
Add table
Reference in a new issue