From 6992530d23fb84525808c1a02e1911dea93a4d52 Mon Sep 17 00:00:00 2001 From: abe33 Date: Fri, 5 Jun 2015 10:07:05 +0200 Subject: [PATCH] :bug: Fix error raised when creating a decoration Fixes #335 --- lib/mixins/decoration-management.coffee | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mixins/decoration-management.coffee b/lib/mixins/decoration-management.coffee index 8c814c3a..4b1bee49 100644 --- a/lib/mixins/decoration-management.coffee +++ b/lib/mixins/decoration-management.coffee @@ -307,6 +307,10 @@ class DecorationManagement extends Mixin @decorationUpdatedSubscriptions = {} @decorationDestroyedSubscriptions = {} + # Internal: Introduced in the DisplayBuffer in v0.206.0 to handle change + # in overlay decorations. It does nothing here because we don't use the + # overlay type. + decorationDidChangeType: (decoration) -> # Internal: Receive the update event of a decoration and trigger # a `minimap:decoration-updated` event.