Skip to content

Commit c6b829a

Browse files
committed
exact profiler inline highlight length
1 parent 5cdb55a commit c6b829a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/editor/highlights.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports =
2929
v.classList.add('ink-profile-line')
3030
v.classList.add(cl) for cl in classes
3131

32-
v.style.width = count*ed.preferredLineLength/2 + 'em'
32+
v.style.width = count*ed.preferredLineLength*ed.defaultCharWidth + 'px'
3333
v
3434

3535
profileLines: (ls) ->

0 commit comments

Comments
 (0)