fix video panel player resize bug
This commit is contained in:
parent
a9554bf477
commit
d0d1b94228
3 changed files with 3 additions and 1 deletions
|
@ -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') {
|
||||
|
|
|
@ -245,7 +245,7 @@ Ox.VideoPanelPlayer = function(options, self) {
|
|||
self.$video.options({
|
||||
width: getPlayerWidth()
|
||||
});
|
||||
self.$timeline.opitions({
|
||||
self.$timeline.options({
|
||||
width: getTimelineWidth()
|
||||
});
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue