mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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` over `source`:
|
||||||
_prioritize: ['crossOrigin'],
|
_prioritize: ['crossOrigin'],
|
||||||
_smoothing: true,
|
_smoothing: false,
|
||||||
|
|
||||||
// TODO: Implement type, width, height.
|
// TODO: Implement type, width, height.
|
||||||
// TODO: Have SymbolItem & Raster inherit from a shared class?
|
// TODO: Have SymbolItem & Raster inherit from a shared class?
|
||||||
|
@ -426,7 +426,7 @@ var Raster = Item.extend(/** @lends Raster# */{
|
||||||
*
|
*
|
||||||
* @bean
|
* @bean
|
||||||
* @type Boolean
|
* @type Boolean
|
||||||
* @default true
|
* @default false
|
||||||
*
|
*
|
||||||
* @example {@paperscript}
|
* @example {@paperscript}
|
||||||
* var raster = new Raster({
|
* var raster = new Raster({
|
||||||
|
|
Loading…
Reference in a new issue