update inner width, trigger clipSize not size

This commit is contained in:
j 2017-04-17 18:15:05 +02:00
parent c0bfe480ad
commit 26ebd90483
2 changed files with 6 additions and 1 deletions

View file

@ -75,6 +75,11 @@ Ox.ClipPanel = function(options, self) {
view: function() { view: function() {
updateView(); updateView();
self.$menu.checkItem(self.options.view); self.$menu.checkItem(self.options.view);
},
width: function() {
self.$list.options({
width: self.options.width
});
} }
}) })
.bindEvent({ .bindEvent({

View file

@ -604,7 +604,7 @@ Ox.VideoEditPanel = function(options, self) {
} }
function resizeendClips(data) { function resizeendClips(data) {
that.triggerEvent('size', data.size); that.triggerEvent('clipSize', data);
} }
function setPoint(point, position, triggerEvent) { function setPoint(point, position, triggerEvent) {