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
+9 -9
View File
@@ -121,7 +121,7 @@ function Viewport(canvas) {
this.rulers.reset();
canvas.aperture.setTransparent(true);
canvas.image.__moved = false;
canvas.topMenu.bringToFront();
canvas.buttonMenu.bringToFront();
};
util.setProperties(this, {
@@ -131,16 +131,16 @@ function Viewport(canvas) {
}
},
gores: {
get: function () {
return this.__goreHandler ||
(this.__goreHandler = new GoreHandler(this));
}
get: function () {
return this.__goreHandler ||
(this.__goreHandler = new GoreHandler(this));
}
},
rulers: {
get: function () {
return this.__rulerHandler ||
(this.__rulerHandler = new RulerHandler(this));
}
get: function () {
return this.__rulerHandler ||
(this.__rulerHandler = new RulerHandler(this));
}
}
});
}