mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Call super from ImageView.initialize()
This allows the ScrollView superclass to set up bindings for scrolling events.
This commit is contained in:
@@ -9,6 +9,8 @@ class ImageView extends ScrollView
|
||||
@img outlet: 'image'
|
||||
|
||||
initialize: (imageEditSession) ->
|
||||
super
|
||||
|
||||
requireStylesheet 'image-view'
|
||||
|
||||
@image.load =>
|
||||
|
||||
Reference in New Issue
Block a user