Added some config files and refactored dragbars and buttonmenu

This commit is contained in:
Erik Tiekstra
2017-05-09 12:51:13 +02:00
parent c73e1ed9b4
commit 4c0b388805
13 changed files with 182 additions and 148 deletions
+4 -4
View File
@@ -86,12 +86,12 @@ util.setProperties(Canvas.prototype, {
image: {
get: Canvas.prototype.get_image
},
topMenu: {
buttonMenu: {
get: function () {
if (!this.__topMenu) {
this.__topMenu = new ButtonMenu(this);
if (!this.__buttonMenu) {
this.__buttonMenu = new ButtonMenu(this);
}
return this.__topMenu;
return this.__buttonMenu;
}
},
viewport: {