-
Notifications
You must be signed in to change notification settings - Fork 690
Snapshot tests #2098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snapshot tests #2098
Changes from all commits
c56d193
53e626d
e11dbcb
5fa7841
b7c1926
3e19ef2
4050e73
f538d2c
4fcd7f5
b708edf
2239943
e15c067
5bf6da1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "test": { | ||
| "runner": "Microsoft.Testing.Platform" | ||
| } | ||
|
beto-rodriguez marked this conversation as resolved.
|
||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -756,7 +756,11 @@ protected internal override void Measure() | |||||||||||||
| ce._isInternalSet = false; | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| if (axis.IsVisible) AddVisual(axis.ChartElementSource); | ||||||||||||||
| if (axis.IsVisible) | ||||||||||||||
| { | ||||||||||||||
| AddVisual(axis.ChartElementSource); | ||||||||||||||
| axis.InvalidateCrosshair(this, _pointerPosition); | ||||||||||||||
|
||||||||||||||
| axis.InvalidateCrosshair(this, _pointerPosition); | |
| if (_isPointerIn) | |
| { | |
| axis.InvalidateCrosshair(this, _pointerPosition); | |
| } |
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -55,7 +55,7 @@ static InMemorySkiaSharpChart() | |||||||||||
| /// <value> | ||||||||||||
| /// The background. | ||||||||||||
| /// </value> | ||||||||||||
| public SKColor Background { get; set; } = SKColors.White; | ||||||||||||
| public SKColor Background { get; set; } = SKColors.Empty; | ||||||||||||
|
|
||||||||||||
| /// <summary> | ||||||||||||
| /// Gets or sets the height. | ||||||||||||
|
|
@@ -151,7 +151,9 @@ public virtual void DrawOnCanvas(SKCanvas canvas) | |||||||||||
| if (coreChart is null || coreChart is not Chart skiaChart) | ||||||||||||
| throw new Exception("Something is missing :("); | ||||||||||||
|
|
||||||||||||
| var bg = coreChart.GetTheme().VirtualBackroundColor.AsSKColor(); | ||||||||||||
| var bg = Background == SKColors.Empty | ||||||||||||
| ? coreChart.GetTheme().VirtualBackroundColor.AsSKColor() | ||||||||||||
| : Background; | ||||||||||||
|
Comment on lines
+154
to
+156
|
||||||||||||
| var bg = Background == SKColors.Empty | |
| ? coreChart.GetTheme().VirtualBackroundColor.AsSKColor() | |
| : Background; | |
| var bg = Background | |
| ?? coreChart.GetTheme().VirtualBackroundColor.AsSKColor(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The step conditions use
if :(with a space) instead of the supportedif:key. GitHub Actions will treatifas an unknown key, so these conditions may be ignored and steps could run unexpectedly. Renameif :toif:for all affected steps in this file.