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,
renderOnAddRemove: false,
stateful: false,
backgroundColor: '#d4d4d4',
backgroundColor: '#d2d2d2',
preserveObjectStacking: true,
selection: false,
width: 1253,
+2
View File
@@ -7,7 +7,9 @@ function ImageEditor(canvasId, args) {
var _canvas;
var _settings = $.extend({
// Type defaults to wallpaper
type: 'wallpaper',
// Default texts on the buttons. This van
buttons: {
flat: 'Flat',
threeD: '3d',