Dim Dim 6 年之前
父節點
當前提交
fe4ee8d057
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Game/views/Menu.js

+ 1 - 1
src/Game/views/Menu.js

@@ -7,7 +7,7 @@ class Menu extends PIXI.Container{
 		this.stage = app.stage;
 		this.buttons = require('./menuConfigs/'+config).default || [];
 		this.calculatePositions();
-		this.buttons.forEach((e,i) => this.addChild(e));
+		this.buttons.forEach((e) => this.addChild(e));
 		this.test = "dsa";
 		this.position.set(app.screen.width/2, app.screen.height/2);
 	}