forked from 0x2620/oxjs
fix a resizing bug in the video editor demo
This commit is contained in:
parent
a1deb20f97
commit
67c154547c
4 changed files with 36 additions and 16 deletions
|
|
@ -101,7 +101,6 @@ Ox.VideoEditor = function(options, self) {
|
|||
},
|
||||
key_shift_left: function() {
|
||||
movePositionBy(1);
|
||||
//movePositionBy(-60);
|
||||
},
|
||||
key_shift_i: function() {
|
||||
goToPoint('in');
|
||||
|
|
@ -109,9 +108,11 @@ Ox.VideoEditor = function(options, self) {
|
|||
key_shift_o: function() {
|
||||
goToPoint('out');
|
||||
},
|
||||
key_shift_p: function() {
|
||||
// go to poster frame
|
||||
},
|
||||
key_shift_right: function() {
|
||||
movePositionBy(1);
|
||||
//movePositionBy(60);
|
||||
},
|
||||
key_shift_up: function() {
|
||||
movePositionBy(-self.options.position);
|
||||
|
|
@ -429,6 +430,7 @@ Ox.VideoEditor = function(options, self) {
|
|||
self.$editor.css({
|
||||
overflowY: (scrollbarIsVisible && height <= self.options.height) ? 'scroll' : 'auto'
|
||||
});
|
||||
//Ox.print('getSizes', scrollbarIsVisible, height, self.options.height, size)
|
||||
return (!scrollbarIsVisible && height > self.options.height) ? getSizes(true) : size;
|
||||
function getHeight() {
|
||||
return size.player[0].height + self.controlsHeight +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue