1
0
Fork 0
forked from 0x2620/oxjs

make annotation map/calendar size/state sticky

This commit is contained in:
rlx 2012-01-14 17:09:55 +05:30
commit 56cf323110
5 changed files with 162 additions and 111 deletions

View file

@ -640,14 +640,26 @@ Ox.VideoEditor = function(options, self) {
},
resize: resizeAnnotations,
resizeend: resizeendAnnotations,
resizecalendar: function(data) {
that.triggerEvent('resizecalendar', data);
},
resizemap: function(data) {
that.triggerEvent('resizemap', data);
},
select: selectAnnotation,
submit: submitAnnotation,
toggle: toggleAnnotations,
togglecalendar: function(data) {
that.triggerEvent('togglecalendar', data);
},
togglelayer: function(data) {
that.triggerEvent('togglelayer', {
collapsed: data.collapsed,
layer: data.layer
});
},
togglemap: function(data) {
that.triggerEvent('togglemap', data);
}
});