Needed to use png for logo because of transparency.

This commit is contained in:
Martin Edenhofer 2014-11-19 23:27:47 +01:00
parent 8636466f87
commit 8c62c7cb32

View file

@ -41,6 +41,10 @@ class App.ImageService
#@resize() #@resize()
@canvas.toDataURL( type, quallity ) @canvas.toDataURL( type, quallity )
toDataURLForApp: ( x, y ) => toDataURLForAvatar: ( x, y ) =>
@resize( x * 2, y * 2 ) @resize( x * 2, y * 2 )
@toDataURL( 'image/jpeg', 0.7 ) @toDataURL( 'image/jpeg', 0.7 )
toDataURLForApp: ( x, y ) =>
@resize( x * 2, y * 2 )
@toDataURL( 'image/png', 0.7 )