Skip to content

Commit

Permalink
this warning okay for now
Browse files Browse the repository at this point in the history
  • Loading branch information
alextd committed Apr 15, 2023
1 parent 84e7ac3 commit 6437cdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Utilities/Listing_StandardExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public static void SliderLabeled(this Listing_Standard ls, string label, ref flo
Text.Anchor = TextAnchor.MiddleLeft;
Widgets.Label(rect2, label);

#pragma warning disable CS0612 // Type or member is obsolete
float result = Widgets.HorizontalSlider(rect3, val, min, max, true);
#pragma warning restore CS0612 // Type or member is obsolete
val = result;
Text.Anchor = TextAnchor.MiddleRight;
Widgets.Label(rect4, String.Format(format, val));
Expand Down

0 comments on commit 6437cdd

Please sign in to comment.