       duration = 300
     else
       duration = 0
-    animate(from: from, to: to, duration: duration, step: step)
+
+    @animate(from: from, to: to, duration: duration, step: step)
 
   relayMousewheelEvent: (e) =>
     editorElement = atom.views.getView(@minimap.textEditor)

    else
      "scale(#{x}, #{y})"

#    ######## ##       ######## ##     ## ######## ##    ## ########
#    ##       ##       ##       ###   ### ##       ###   ##    ##
#    ##       ##       ##       #### #### ##       ####  ##    ##

CanvasDrawer = require './mixins/canvas-drawer'

MinimapQuickSettingsView = null

# Public:
class MinimapElement extends HTMLElement
