minor reformatting
This commit is contained in:
parent
76c4c7d1c2
commit
a02e446b58
2 changed files with 9 additions and 4 deletions
|
@ -43,7 +43,7 @@ pandora.UI = (function() {
|
||||||
triggerEvents = Ox.isUndefined(arguments[2]) ? true : arguments[1];
|
triggerEvents = Ox.isUndefined(arguments[2]) ? true : arguments[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
Ox.Log('UI SET', args)
|
Ox.Log('UI', 'SET', args)
|
||||||
|
|
||||||
self.previousUI = Ox.clone(pandora.user.ui, true);
|
self.previousUI = Ox.clone(pandora.user.ui, true);
|
||||||
self.previousUI._list = pandora.getListsState(self.previousUI.find);
|
self.previousUI._list = pandora.getListsState(self.previousUI.find);
|
||||||
|
|
|
@ -191,7 +191,10 @@ pandora.ui.item = function() {
|
||||||
pandora.UI.set('videoMuted', data.muted);
|
pandora.UI.set('videoMuted', data.muted);
|
||||||
},
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
pandora.UI.set('videoPoints.' + pandora.user.ui.item + '.position', data.position);
|
pandora.UI.set(
|
||||||
|
'videoPoints.' + pandora.user.ui.item + '.position',
|
||||||
|
data.position
|
||||||
|
);
|
||||||
},
|
},
|
||||||
resizeannotations: function(data) {
|
resizeannotations: function(data) {
|
||||||
pandora.UI.set('annotationsSize', data.annotationsSize);
|
pandora.UI.set('annotationsSize', data.annotationsSize);
|
||||||
|
@ -266,10 +269,12 @@ pandora.ui.item = function() {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
position: function(data) {
|
position: function(data) {
|
||||||
pandora.UI.set('videoPoints.' + pandora.user.ui.item + '.position', data.position);
|
pandora.UI.set(
|
||||||
|
'videoPoints.' + pandora.user.ui.item + '.position',
|
||||||
|
data.position
|
||||||
|
);
|
||||||
},
|
},
|
||||||
resize: function(data) {
|
resize: function(data) {
|
||||||
Ox.Log('', 'RESIZE!!', data.size)
|
|
||||||
pandora.$ui.editor.options({
|
pandora.$ui.editor.options({
|
||||||
height: data.size
|
height: data.size
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue