mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Default raster smoothing to false for Scratch
This commit is contained in:
parent
088f3f9c0c
commit
9d4ab1e38f
1 changed files with 2 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue