Merge pull request #23 from fsih/rasterSmoothing

Default raster smoothing to false for Scratch
This commit is contained in:
DD Liu 2018-11-13 16:56:31 -05:00 committed by GitHub
commit f69748fc06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ var Raster = Item.extend(/** @lends Raster# */{
},
// Prioritize `crossOrigin` over `source`:
_prioritize: ['crossOrigin'],
_smoothing: true,
_smoothing: false,
// TODO: Implement type, width, height.
// TODO: Have SymbolItem & Raster inherit from a shared class?
@ -426,7 +426,7 @@ var Raster = Item.extend(/** @lends Raster# */{
*
* @bean
* @type Boolean
* @default true
* @default false
*
* @example {@paperscript}
* var raster = new Raster({