From 6437cdd83fea79f50c2f0d2fcc388b591831af60 Mon Sep 17 00:00:00 2001 From: Alex Tearse-Doyle Date: Sat, 15 Apr 2023 12:37:49 -0700 Subject: [PATCH] this warning okay for now --- Source/Utilities/Listing_StandardExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Utilities/Listing_StandardExtensions.cs b/Source/Utilities/Listing_StandardExtensions.cs index f98585d..0058787 100644 --- a/Source/Utilities/Listing_StandardExtensions.cs +++ b/Source/Utilities/Listing_StandardExtensions.cs @@ -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));