Skip to content

Commit 38628e4

Browse files
committed
Merge branch 'master' into dev
2 parents 4a9f426 + d87cbcb commit 38628e4

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

lib/minimap-view.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ class MinimapView extends View
142142
evw = editorViewRect.width
143143
evh = editorViewRect.height
144144

145+
@miniWrapper.css {width}
146+
145147
# VisibleArea's size
146148
@miniVisibleArea.css
147149
width : @indicator.width = width

lib/minimap.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Minimap
111111
# Public: Returns the char width ratio of the minimap compared to the real
112112
# editor. **The value is currently hard-coded until we find a good way to
113113
# compute it from the editor state**.
114-
getCharWidthRatio: -> 0.8
114+
getCharWidthRatio: -> 0.72
115115

116116
# Internal: Toggles the minimap activation state.
117117
toggle: () ->

stylesheets/minimap.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
.minimap-editor {
5252
position: absolute;
5353
cursor: default;
54+
width: 100%;
5455
.accelerated;
5556
.scroll-view {
5657
.accelerated;

0 commit comments

Comments
 (0)