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
|
height: height
|
||||||
})[0],
|
})[0],
|
||||||
context = canvas.getContext('2d'),
|
context = canvas.getContext('2d'),
|
||||||
|
Ox.print('WIDTH/HEIGHT', width, height)
|
||||||
imageData = context.createImageData(width, height),
|
imageData = context.createImageData(width, height),
|
||||||
data = imageData.data;
|
data = imageData.data;
|
||||||
if (image == 'results') {
|
if (image == 'results') {
|
||||||
|
|
|
@ -245,7 +245,7 @@ Ox.VideoPanelPlayer = function(options, self) {
|
||||||
self.$video.options({
|
self.$video.options({
|
||||||
width: getPlayerWidth()
|
width: getPlayerWidth()
|
||||||
});
|
});
|
||||||
self.$timeline.opitions({
|
self.$timeline.options({
|
||||||
width: getTimelineWidth()
|
width: getTimelineWidth()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1647,6 +1647,7 @@ Ox.VideoPlayer = function(options, self) {
|
||||||
});
|
});
|
||||||
setSize(self.$spaceBottom, getCSS('spaceBottom'), animate);
|
setSize(self.$spaceBottom, getCSS('spaceBottom'), animate);
|
||||||
setSize(self.$find, getCSS('find'), animate, function() {
|
setSize(self.$find, getCSS('find'), animate, function() {
|
||||||
|
Ox.print('FIND......', Math.min(128, self.width - 80))
|
||||||
self.$findInput.options({
|
self.$findInput.options({
|
||||||
width: Math.min(128, self.width - 80)
|
width: Math.min(128, self.width - 80)
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue