Permalink
Browse files

Fixed small bug in image view

  • Loading branch information...
Koen Bok
Koen Bok committed Apr 27, 2013
1 parent b480b5f commit 23f141a69c76f3e071cb42ca4c06408ab7ed0ef0
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/views/imageview.coffee
@@ -5,6 +5,8 @@ class exports.ImageView extends View
constructor: (args) ->
super
args ?= {}
# Behave like NSImage. Stretch to view size
@style["background-repeat"] = "no-repeat"
@style["background-size"] = "cover"

0 comments on commit 23f141a

Please sign in to comment.