mirror of
https://github.com/4sval/FModel.git
synced 2026-09-13 20:16:38 -05:00
safe margin
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user