|
|
@ -106,7 +106,7 @@ namespace TheGameExtreme.view
|
|
|
|
if (Value.View.GetType() == typeof(FractionCard))
|
|
|
|
if (Value.View.GetType() == typeof(FractionCard))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
canvas.DrawRect(card, textPaint1);
|
|
|
|
canvas.DrawRect(card, textPaint1);
|
|
|
|
if (((FractionCard)Value.View).Fraction.Numerateur < 10 && ((FractionCard)Value.View).Fraction.Numerateur > 0)
|
|
|
|
if (((FractionCard)Value.View).Fraction.Numerateur < 10 && ((FractionCard)Value.View).Fraction.Numerateur > 0) // Gros prob
|
|
|
|
{
|
|
|
|
{
|
|
|
|
canvas.DrawText(((FractionCard)Value.View).Fraction.Numerateur.ToString(), textPaint.MeasureText(((FractionCard)Value.View).Fraction.Numerateur.ToString()) * 0.5f, -50, textPaint);
|
|
|
|
canvas.DrawText(((FractionCard)Value.View).Fraction.Numerateur.ToString(), textPaint.MeasureText(((FractionCard)Value.View).Fraction.Numerateur.ToString()) * 0.5f, -50, textPaint);
|
|
|
|
}
|
|
|
|
}
|
|
|
|