fix video panel player resize bug

This commit is contained in:
rlx 2011-08-19 18:42:44 +00:00
parent a9554bf477
commit d0d1b94228
3 changed files with 3 additions and 1 deletions

View file

@ -107,6 +107,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
height: height
})[0],
context = canvas.getContext('2d'),
Ox.print('WIDTH/HEIGHT', width, height)
imageData = context.createImageData(width, height),
data = imageData.data;
if (image == 'results') {

View file

@ -245,7 +245,7 @@ Ox.VideoPanelPlayer = function(options, self) {
self.$video.options({
width: getPlayerWidth()
});
self.$timeline.opitions({
self.$timeline.options({
width: getTimelineWidth()
});
}

View file

@ -1647,6 +1647,7 @@ Ox.VideoPlayer = function(options, self) {
});
setSize(self.$spaceBottom, getCSS('spaceBottom'), animate);
setSize(self.$find, getCSS('find'), animate, function() {
Ox.print('FIND......', Math.min(128, self.width - 80))
self.$findInput.options({
width: Math.min(128, self.width - 80)
});