Standarizing the sizes

This commit is contained in:
Luis Fernando Molina committed 2018-06-01 13:06:28 +02:00
1 parent 8419f86f9e
commit 02fcb356b0
3 files changed
+20 -5

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ function newTimeControlPanel() {
function initialize() {
thisObject.container.frame.width = 200;
thisObject.container.frame.height = 65;
thisObject.container.frame.width = UI_PANEL.WIDTH.SMALL;
thisObject.container.frame.height = UI_PANEL.HEIGHT.SMALL;
let position = {
x: (viewPort.visibleArea.topRight.x - viewPort.visibleArea.topLeft.x) / 2 - thisObject.container.frame.width / 2,