1
0
Fork 0
forked from 0x2620/oxjs

some more tabs to spaces

This commit is contained in:
rolux 2013-06-02 22:19:36 +02:00
commit 4950898b34
7 changed files with 19 additions and 19 deletions

View file

@ -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'