Skip to content

Commit 0188c97

Browse files
committed
removed topColor
1 parent 4d15303 commit 0188c97

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

AmericaSports/Column3D.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ protected override void Draw(ICanvas canvas)
5454
topTriangle.LineTo(Right, Top);
5555
topTriangle.LineTo(Left, Top);
5656
topTriangle.Close();
57-
58-
var topColor = mainColor.WithAlpha(0.6f);
59-
canvas.SetFillPaint(new SolidColorBrush(topColor), new Rect() { Left = Left, Top = Top, Right = Right + depthOffset, Bottom = Top });
57+
58+
canvas.SetFillPaint(new SolidColorBrush(sideColor), new Rect() { Left = Left, Top = Top, Right = Right + depthOffset, Bottom = Top });
6059
canvas.FillPath(topTriangle);
6160
}
6261
}

AmericaSports/MainPage.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-

2-
using CommunityToolkit.Maui.Views;
1+

32
using Syncfusion.Maui.Charts;
43
namespace AmericaSports
54
{

AmericaSports/MauiProgram.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
using Microsoft.Extensions.Logging;
2-
using Syncfusion.Maui.Core.Hosting;
3-
using CommunityToolkit.Maui;
4-
5-
using CommunityToolkit.Maui;
2+
using Syncfusion.Maui.Core.Hosting;
63
namespace AmericaSports
74
{
85
public static class MauiProgram
@@ -11,8 +8,7 @@ public static MauiApp CreateMauiApp()
118
{
129
var builder = MauiApp.CreateBuilder();
1310
builder
14-
.UseMauiApp<App>()
15-
.UseMauiCommunityToolkitMediaElement()
11+
.UseMauiApp<App>()
1612
.ConfigureSyncfusionCore()
1713
.ConfigureFonts(fonts =>
1814
{

0 commit comments

Comments
 (0)