Skip to content

Commit

Permalink
Change onion map color method name
Browse files Browse the repository at this point in the history
  • Loading branch information
mpewsey committed Jun 14, 2024
1 parent 7868e17 commit 87fdfb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private void SizePages()
/// <param name="z">The viewer's layer position.</param>
/// <param name="gradient">The color gradient.</param>
/// <param name="drawDepth">The maximum draw depth forward and behind a given layer coordinate.</param>
public float SetOnionMapColors(float z, Gradient gradient, float drawDepth = 1)
public float SetOnionskinColors(float z, Gradient gradient, float drawDepth = 1)
{
if (PageLayerCoordinates.Count > 0)
{
Expand Down
2 changes: 1 addition & 1 deletion samples/scripts/LayoutTileMapBookSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public override void _Ready()

private void OnSliderValueChanged(double value)
{
Map.SetOnionMapColors((float)value, Gradient);
Map.SetOnionskinColors((float)value, Gradient);
ZLabel.Text = value.ToString("0.00");
}

Expand Down

0 comments on commit 87fdfb0

Please sign in to comment.