From 332f83c6ca0211d80bdcd9d8568be56de280b76e Mon Sep 17 00:00:00 2001 From: oakes Date: Sun, 27 Apr 2014 22:08:23 -0400 Subject: [PATCH] Fix container constructor --- src/play_clj/ui.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/play_clj/ui.clj b/src/play_clj/ui.clj index 0f0b0bf..c86d435 100644 --- a/src/play_clj/ui.clj +++ b/src/play_clj/ui.clj @@ -191,7 +191,7 @@ based on the file at `path`. (defn container* [child] - (ActorEntity. (Table. child))) + (ActorEntity. (Container. (u/get-obj child :object)))) (defmacro container "Returns an entity based on [Container](http://libgdx.badlogicgames.com/nightlies/docs/api/com/badlogic/gdx/scenes/scene2d/ui/Container.html).