Skip to content

Commit adc6fdd

Browse files
committed
remove resetMinimapTransform and initialed miniWrapper scale
1 parent 218399f commit adc6fdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/minimap-view.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class MinimapView extends View
3333
@miniScrollView = @miniEditorView.scrollView
3434
@minimapScroll = 0
3535

36+
@transform @miniWrapper[0], @minimapScale
37+
3638
initialize: ->
3739

3840
isPressed = false
@@ -78,8 +80,6 @@ class MinimapView extends View
7880
@paneView.removeClass('with-minimap')
7981
@detachFromPaneView()
8082

81-
resetMinimapTransform: -> @transform @miniWrapper[0], @scale()
82-
8383
minimapIsAttached: -> @paneView.find('.minimap').length is 1
8484

8585
# EDITOR VIEW MANAGEMENT

0 commit comments

Comments
 (0)