forked from 0x2620/oxjs
some more tabs to spaces
This commit is contained in:
parent
064c40461e
commit
4950898b34
7 changed files with 19 additions and 19 deletions
|
|
@ -233,10 +233,10 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
|
||||
function setCSS() {
|
||||
that.css({
|
||||
width: (self.options.width + self.margin) + 'px',
|
||||
height: ((self.height + self.margin) * self.lines) + 4 + 'px'
|
||||
// fixme: the + 4 represent the margin-bottom in the video editor
|
||||
// is there a better way to get a proper margin-bottom?
|
||||
width: (self.options.width + self.margin) + 'px',
|
||||
height: ((self.height + self.margin) * self.lines) + 4 + 'px'
|
||||
// fixme: the + 4 represent the margin-bottom in the video editor
|
||||
// is there a better way to get a proper margin-bottom?
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -294,8 +294,8 @@ Ox.BlockVideoTimeline = function(options, self) {
|
|||
|
||||
function setWidth() {
|
||||
self.lines = getLines();
|
||||
setCSS();
|
||||
Ox.loop(self.lines, function(i) {
|
||||
setCSS();
|
||||
Ox.loop(self.lines, function(i) {
|
||||
if (self.$lines[i]) {
|
||||
self.$lines[i].css({
|
||||
width: self.options.width + 'px'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue