Updated background color and added some comments
This commit is contained in:
@@ -17,7 +17,7 @@ var Canvas = fabric.util.createClass(fabric.Canvas, {
|
|||||||
enableRetinaScaling: true,
|
enableRetinaScaling: true,
|
||||||
renderOnAddRemove: false,
|
renderOnAddRemove: false,
|
||||||
stateful: false,
|
stateful: false,
|
||||||
backgroundColor: '#d4d4d4',
|
backgroundColor: '#d2d2d2',
|
||||||
preserveObjectStacking: true,
|
preserveObjectStacking: true,
|
||||||
selection: false,
|
selection: false,
|
||||||
width: 1253,
|
width: 1253,
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ function ImageEditor(canvasId, args) {
|
|||||||
var _canvas;
|
var _canvas;
|
||||||
|
|
||||||
var _settings = $.extend({
|
var _settings = $.extend({
|
||||||
|
// Type defaults to wallpaper
|
||||||
type: 'wallpaper',
|
type: 'wallpaper',
|
||||||
|
// Default texts on the buttons. This van
|
||||||
buttons: {
|
buttons: {
|
||||||
flat: 'Flat',
|
flat: 'Flat',
|
||||||
threeD: '3d',
|
threeD: '3d',
|
||||||
|
|||||||
Reference in New Issue
Block a user