mirror of
https://github.com/4sval/FModel.git
synced 2026-04-30 10:07:27 -05:00
Hide The Pain Harold
This commit is contained in:
parent
7678e06ec8
commit
db65a03c8d
|
|
@ -110,7 +110,7 @@ namespace FModel.Creator.Bases
|
||||||
TextSize = 15,
|
TextSize = 15,
|
||||||
Color = SKColors.White,
|
Color = SKColors.White,
|
||||||
TextAlign = SKTextAlign.Center,
|
TextAlign = SKTextAlign.Center,
|
||||||
Typeface = Text.TypeFaces.BottomDefaultTypeface
|
Typeface = Text.TypeFaces.BottomDefaultTypeface ?? Text.TypeFaces.DisplayNameTypeface
|
||||||
};
|
};
|
||||||
using SKPaint bg = new SKPaint
|
using SKPaint bg = new SKPaint
|
||||||
{
|
{
|
||||||
|
|
@ -135,7 +135,7 @@ namespace FModel.Creator.Bases
|
||||||
int x = 20;
|
int x = 20;
|
||||||
foreach (var (index, reward) in BookXpSchedule)
|
foreach (var (index, reward) in BookXpSchedule)
|
||||||
{
|
{
|
||||||
if (index == 0)
|
if (index == 0 || reward.Count <= 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
c.DrawText(index.ToString(), new SKPoint(x + (defaultSize / 2), y - 5), paint);
|
c.DrawText(index.ToString(), new SKPoint(x + (defaultSize / 2), y - 5), paint);
|
||||||
|
|
@ -234,11 +234,14 @@ namespace FModel.Creator.Bases
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
c.DrawBitmap(FirstWinReward.TheReward.IconImage.Resize(HeaderHeight, HeaderHeight), new SKPoint(0, 0), new SKPaint
|
if (FirstWinReward != null)
|
||||||
{
|
{
|
||||||
FilterQuality = SKFilterQuality.High,
|
c.DrawBitmap(FirstWinReward.TheReward.IconImage.Resize(HeaderHeight, HeaderHeight), new SKPoint(0, 0), new SKPaint
|
||||||
IsAntialias = true
|
{
|
||||||
});
|
FilterQuality = SKFilterQuality.High,
|
||||||
|
IsAntialias = true
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
SKPath pathTop = new SKPath { FillType = SKPathFillType.EvenOdd };
|
SKPath pathTop = new SKPath { FillType = SKPathFillType.EvenOdd };
|
||||||
pathTop.MoveTo(0, HeaderHeight);
|
pathTop.MoveTo(0, HeaderHeight);
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,8 @@ To use FModel, you need to have [.NET Core 3.1](https://dotnet.microsoft.com/dow
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/NotOfficer">
|
<a href="https://github.com/NotOfficer">
|
||||||
<img src="https://avatars1.githubusercontent.com/u/29897990?s=200&v=4" width="100px;" alt="Not Officer"/><br>
|
<img src="https://avatars1.githubusercontent.com/u/29897990?s=200&v=4" width="100px;" alt="Officer"/><br>
|
||||||
<sub><b>Not Officer</b></sub>
|
<sub><b>Officer</b></sub>
|
||||||
</a><br>
|
</a><br>
|
||||||
<a href="https://github.com/NotOfficer" title="Github">🔧</a>
|
<a href="https://github.com/NotOfficer" title="Github">🔧</a>
|
||||||
<a href="https://twitter.com/Not0fficer" title="Twitter">🐦</a>
|
<a href="https://twitter.com/Not0fficer" title="Twitter">🐦</a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user