Skip to content

Commit e3c8b3e

Browse files
committed
Get those tests passing.
1 parent e504089 commit e3c8b3e

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

lib/navigation-view.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class NavigationView extends View
1515
@span class: 'inline-block icon icon-x', click: 'deactivateTrace'
1616
@div class: 'inline-block current-frame unfocused', outlet: 'frameContainer', =>
1717
@span class: 'inline-block icon icon-code'
18-
@span class: 'inline-block function', outlet: 'frameFunction'
18+
@span class: 'inline-block function', outlet: 'frameFunction', click: 'navigateToLastActive'
1919
@span class: 'inline-block index', outlet: 'frameIndex'
2020
@span class: 'inline-block divider', '/'
2121
@span class: 'inline-block total', outlet: 'frameTotal'

spec/navigation-view-spec.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ describe 'NavigationView', ->
106106
editor = atom.workspace.getActiveEditor()
107107

108108
it 'notices if you manually navigate to a different frame', ->
109-
expect(view.find('.current-frame.function').text()).toEqual 'midfunc'
109+
expect(view.find('.current-frame .function').text()).toEqual 'midfunc'
110110

111111
editor.setCursorBufferPosition [4, 1]
112112

113113
expect(view.frame).toBe(trace.frames[3])
114-
expect(view.find('.current-frame.function').text()).toEqual 'otherfunc'
114+
expect(view.find('.current-frame .function').text()).toEqual 'otherfunc'

stylesheets/stacktrace.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
span.function {
7373
padding: 1px 3px;
7474
font-weight: bold;
75+
76+
&:hover {
77+
cursor: pointer;
78+
text-decoration: underline;
79+
}
7580
}
7681
}
7782
}

0 commit comments

Comments
 (0)