From 83830ca40b34fd7361c973a96619dfb20c0bf958 Mon Sep 17 00:00:00 2001 From: abe33 Date: Tue, 6 Jan 2015 17:05:50 +0100 Subject: [PATCH] :bug: Fix duplicated minimap when dragging tab --- lib/main-v4.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/main-v4.coffee b/lib/main-v4.coffee index 10be099f..89f1373c 100644 --- a/lib/main-v4.coffee +++ b/lib/main-v4.coffee @@ -45,6 +45,8 @@ class V4Main Minimap ?= require './minimap' @subscriptions.add atom.workspace.observeTextEditors (textEditor) => + return if @editorsMinimaps[textEditor.id]? + minimap = new Minimap({textEditor}) @editorsMinimaps[textEditor.id] = minimap