File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,8 @@ App.directive("tlRuler", function ($timeout) {
170
170
scale = scope . project . scale ;
171
171
for ( var i = start - ( start % 100 ) ; i < end ; i += 100 ) {
172
172
/* create and format span */
173
- s = $ ( '<span>' ) ;
173
+ s = $ ( '<span style="left: ' + i + 'px;" >') ;
174
174
s . addClass ( "ruler_time" ) ;
175
- s [ 0 ] . style = "left: " + i + "px;" ;
176
175
177
176
/* Calculate Time */
178
177
var time = i / scope . pixelsPerSecond ;
Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ img {
51
51
.drag_cursor { cursor : move; }
52
52
# ruler {
53
53
position : relative;
54
- height : 100 % ;
54
+ height : 39 px ;
55
55
background-image : url(../ images/ruler-tick.svg);
56
56
background-position : -50px ;
57
57
}
58
- .ruler_time {
59
- color : white ;
60
- top : 5 px ;
61
- font-size : 0.9 em ;
58
+ .ruler_time {
59
+ color : # c8c8c8 ;
60
+ top : 6 px ;
61
+ font-size : 0.8 em ;
62
62
position : absolute;
63
63
transform : translate (-50% , 0 );
64
64
}
You can’t perform that action at this time.
0 commit comments