File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ Phaser.CanvasPool = {
7979 } ,
8080
8181 /**
82- * Removes the parent from a canvas element from the pool, freeing it up for re-use.
82+ * Looks up a canvas based on its parent, and if found puts it back in the pool, freeing it up for re-use.
83+ * The canvas has its width and height set to 1, and its parent attribute nulled.
8384 *
8485 * @static
8586 * @method Phaser.CanvasPool.remove
@@ -102,7 +103,8 @@ Phaser.CanvasPool = {
102103 } ,
103104
104105 /**
105- * Removes the parent from a canvas element from the pool, freeing it up for re-use.
106+ * Looks up a canvas based on its type, and if found puts it back in the pool, freeing it up for re-use.
107+ * The canvas has its width and height set to 1, and its parent attribute nulled.
106108 *
107109 * @static
108110 * @method Phaser.CanvasPool.removeByCanvas
You can’t perform that action at this time.
0 commit comments