Added some config files and refactored dragbars and buttonmenu
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
color: '#ffffff',
|
||||
fontFamily: 'breuer',
|
||||
fontSize: 14,
|
||||
background: '#000000',
|
||||
activeBackground: '#444444',
|
||||
cursor: 'pointer',
|
||||
originX: 'center',
|
||||
originY: 'center',
|
||||
padding: 20,
|
||||
margin: 5,
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
fill: '#bbbbbb',
|
||||
size: 20,
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
text: {
|
||||
fontFamily: 'breuer',
|
||||
fontSize: 12,
|
||||
fill: '#ffffff',
|
||||
originX: 'center',
|
||||
top: 2,
|
||||
},
|
||||
rect: {
|
||||
fill: '#666666',
|
||||
height: 20,
|
||||
originX: 'center',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user