Skip to content

Commit cd3febd

Browse files
committed
Use ScrollView in place of View
1 parent 93a0b34 commit cd3febd

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/atom-k9-view.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use babel';
22

3-
import { View, $$ } from 'atom-space-pen-views';
3+
import { ScrollView, $$ } from 'atom-space-pen-views';
44

5-
export default class JRubyArtView extends View {
5+
export default class JRubyArtView extends ScrollView {
66

77
static content() {
88
this.div(() => {
@@ -24,8 +24,6 @@ export default class JRubyArtView extends View {
2424
);
2525
})
2626
);
27-
let height = this.script[0].scrollHeight;
28-
this.script.scrollTop(height);
2927
}
3028
clear() {
3129
this.output.empty();

0 commit comments

Comments
 (0)