P5-492 change colors on buttons and move canvas 3d image down
This commit is contained in:
@@ -94,6 +94,8 @@ function ThreeDHandler(canvas) {
|
|||||||
*/
|
*/
|
||||||
this.setImage = function (img) {
|
this.setImage = function (img) {
|
||||||
img.set({
|
img.set({
|
||||||
|
// Image should be about 20px lower than the center (because of the buttons)
|
||||||
|
top: 20,
|
||||||
originX: 'center',
|
originX: 'center',
|
||||||
originY: 'center',
|
originY: 'center',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ module.exports = {
|
|||||||
activeFill: '#ffffff',
|
activeFill: '#ffffff',
|
||||||
},
|
},
|
||||||
rect: {
|
rect: {
|
||||||
fill: '#000000',
|
fill: '#343434',
|
||||||
activeFill: '#444444',
|
activeFill: '#494949',
|
||||||
width: 100,
|
width: 100,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -22,8 +22,8 @@ module.exports = {
|
|||||||
activeFill: '#ffffff',
|
activeFill: '#ffffff',
|
||||||
},
|
},
|
||||||
rect: {
|
rect: {
|
||||||
fill: '#000000',
|
fill: '#343434',
|
||||||
activeFill: '#444444',
|
activeFill: '#494949',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ module.exports = {
|
|||||||
|
|
||||||
rect: function(width, height) {
|
rect: function(width, height) {
|
||||||
return {
|
return {
|
||||||
fill: '#000000',
|
fill: '#343434',
|
||||||
activeFill: '#444444',
|
activeFill: '#494949',
|
||||||
originX: 'center',
|
originX: 'center',
|
||||||
originY: 'center',
|
originY: 'center',
|
||||||
width: width || 1,
|
width: width || 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user