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) {
|
||||
img.set({
|
||||
// Image should be about 20px lower than the center (because of the buttons)
|
||||
top: 20,
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
});
|
||||
|
||||
@@ -9,8 +9,8 @@ module.exports = {
|
||||
activeFill: '#ffffff',
|
||||
},
|
||||
rect: {
|
||||
fill: '#000000',
|
||||
activeFill: '#444444',
|
||||
fill: '#343434',
|
||||
activeFill: '#494949',
|
||||
width: 100,
|
||||
},
|
||||
},
|
||||
@@ -22,8 +22,8 @@ module.exports = {
|
||||
activeFill: '#ffffff',
|
||||
},
|
||||
rect: {
|
||||
fill: '#000000',
|
||||
activeFill: '#444444',
|
||||
fill: '#343434',
|
||||
activeFill: '#494949',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ module.exports = {
|
||||
|
||||
rect: function(width, height) {
|
||||
return {
|
||||
fill: '#000000',
|
||||
activeFill: '#444444',
|
||||
fill: '#343434',
|
||||
activeFill: '#494949',
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
width: width || 1,
|
||||
|
||||
Reference in New Issue
Block a user