From 5c4e3a55b7da6f0fefe11fd71b9619b11ea70454 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 20 Jul 2018 17:24:50 +0200 Subject: [PATCH] Examples - Rename While Loop example --- web/main.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/main.dart b/web/main.dart index acaff96..d58dbba 100644 --- a/web/main.dart +++ b/web/main.dart @@ -5,7 +5,7 @@ import 'package:browserloop/src/04-FixedLoopVariableRender.dart'; import 'package:browserloop/src/02-AnimationFrameWhile.dart'; List examples = [ - Example("While Loop Example", "#while_output"), + Example("While Loop Example", "#while_loop"), Example("Fixed Update, Variable Render", "#fixed_variable"), Example("Variable Timestep", "#variable_timestep") ]; @@ -81,7 +81,7 @@ void activate(MouseEvent e) { if (ex.canvas == c) { resetExample(ex); switch (ex.query) { - case "#while_output": + case "#while_loop": print("#while_output loop added"); ex.loop = new WhileLoop(new Game(ex.canvas)); break;