Responsive (#1) make editor responsive
* Make canvas responsive * made the editor to appear in the middle
This commit is contained in:
@@ -14,6 +14,8 @@ var Canvas = fabric.util.createClass(fabric.Canvas, {
|
||||
backgroundColor: '#d4d4d4',
|
||||
preserveObjectStacking: true,
|
||||
selection: false,
|
||||
width: 1253,
|
||||
height: 600
|
||||
});
|
||||
|
||||
this.on('mouse:up', function () {
|
||||
|
||||
Reference in New Issue
Block a user