mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 04:53:29 +01:00
fixed the ui demo
This commit is contained in:
parent
25774dc8dd
commit
56db141a68
1 changed files with 2 additions and 2 deletions
|
@ -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<Wait> WobbleButton(CustomDrawGroup group) {
|
||||
private IEnumerator<IWait> 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<Wait> WobbleProgressBar(ProgressBar bar) {
|
||||
private IEnumerator<IWait> WobbleProgressBar(ProgressBar bar) {
|
||||
var reducing = false;
|
||||
while (bar.Root != null) {
|
||||
if (reducing) {
|
||||
|
|
Loading…
Reference in a new issue