From e44f8abd74c08a67efa8b0e5e8aaa2f054fc3f89 Mon Sep 17 00:00:00 2001 From: Yasunori Kirimoto Date: Sun, 12 Mar 2017 15:09:34 +0900 Subject: [PATCH] ActiveLayer_Change ActiveLayer Top display --- src/iconLayers.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/iconLayers.js b/src/iconLayers.js index 02eb7b9..85f238d 100644 --- a/src/iconLayers.js +++ b/src/iconLayers.js @@ -73,11 +73,11 @@ if (!activeLayer) { return null; } else if (this._previousLayerId) { - return this._layers[this._previousLayerId]; + //return this._layers[this._previousLayerId]; } else { - return find(this._layers, function(l) { - return l.id !== activeLayer.id; - }.bind(this)) || null; + // return find(this._layers, function(l) { + // return l.id !== activeLayer.id; + // }.bind(this)) || null; } }, _getInactiveLayers: function() {