Updated background color and added some comments

This commit is contained in:
Erik Tiekstra
2017-06-08 10:43:18 +02:00
parent ab50c360b0
commit dd2c965178
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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,
+2
View File
@@ -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',