mirror of
https://github.com/4sval/FModel.git
synced 2026-04-01 06:35:36 -05:00
safe margin
This commit is contained in:
parent
1bd1e4dff2
commit
de123e1fcf
|
|
@ -255,7 +255,7 @@ namespace FModel.Creator.Bases.FN
|
|||
|
||||
public void Draw(SKCanvas c, SKColor sliderColor, int width, int height, ref float y)
|
||||
{
|
||||
while (_statPaint.MeasureText(_statName) > height * 2)
|
||||
while (_statPaint.MeasureText(_statName) > height * 2 - 40)
|
||||
{
|
||||
_statPaint.TextSize -= 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user