浏览代码

Correct Layers doc typo.

The documentation says objects start out on layer 1, but as far as I can tell, an object's layers are initialized to layer 0, which corresponds to a mask of `1`, perhaps the source of the confusion?
Trygve Wastvedt 8 年之前
父节点
当前提交
e0d3fb10f8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/core/Layers.html

+ 1 - 1
docs/api/core/Layers.html

@@ -28,7 +28,7 @@
 
 		<h3>[name]()</h3>
 		<div>
-		Create a new Layers object, with an initial mask set to layer 1.
+		Create a new Layers object, with an initial mask set to 1 (layer 0).
 		</div>
 
 		<h2>Properties</h2>