From 56db141a6841698a89366dbd2c09e19739a23562 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 20 Nov 2019 15:01:24 +0100 Subject: [PATCH] fixed the ui demo --- Demos/UiDemo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Demos/UiDemo.cs b/Demos/UiDemo.cs index 70910aa..c60b5c8 100644 --- a/Demos/UiDemo.cs +++ b/Demos/UiDemo.cs @@ -224,7 +224,7 @@ namespace Demos { // This method is used by the wobbling button (see above) // Note that this particular example makes use of the Coroutine package, which is not required but makes demonstration easier - private IEnumerator WobbleButton(CustomDrawGroup group) { + private IEnumerator WobbleButton(CustomDrawGroup group) { var counter = 0F; while (counter < 4 * Math.PI) { // A custom draw group allows the implementation of any sort of custom rendering for all of its child components @@ -240,7 +240,7 @@ namespace Demos { group.Transform = Matrix.Identity; } - private IEnumerator WobbleProgressBar(ProgressBar bar) { + private IEnumerator WobbleProgressBar(ProgressBar bar) { var reducing = false; while (bar.Root != null) { if (reducing) {