|
44 | 44 | <!-- RULER (right of screen) -->
|
45 | 45 | <div id="scrolling_ruler">
|
46 | 46 | <!-- PLAYHEAD TOP -->
|
47 |
| - <div tl-playhead class="playhead playhead-top" ng-right-click="ShowPlayheadMenu(project.playhead_position)" style="left:{{(project.playhead_position * pixelsPerSecond) + playheadOffset}}px;"> |
| 47 | + <div tl-playhead class="playhead playhead-top" ng-right-click="showPlayheadMenu(project.playhead_position)" style="left:{{(project.playhead_position * pixelsPerSecond) + playheadOffset}}px;"> |
48 | 48 | <div class="playhead-line-small"></div>
|
49 | 49 | </div>
|
50 | 50 | <!-- Ruler extends beyond tracks area at least for a width of vertical scroll bar (or more, like 50px here) -->
|
51 |
| - <canvas tl-ruler id="ruler" width="{{GetTimelineWidth(1024)+50}}" height="39"></canvas> |
| 51 | + <canvas tl-ruler id="ruler" width="{{getTimelineWidth(1024) + 50}}" height="39"></canvas> |
52 | 52 |
|
53 | 53 | <!-- MARKERS -->
|
54 | 54 | <span class="ruler_marker" id="marker_for_{{marker.id}}">
|
55 |
| - <img ng-repeat="marker in project.markers" id="marker_{{marker.id}}_{{$index}}" ng-right-click="ShowMarkerMenu(marker.id)" style="position: absolute; bottom: 0px; left: {{(marker.position * pixelsPerSecond) - 6 }}px;" class="marker_icon" ng-src="media/images/markers/{{ marker.icon }}" draggable="false"/> |
| 55 | + <img ng-repeat="marker in project.markers" id="marker_{{marker.id}}_{{$index}}" ng-right-click="showMarkerMenu(marker.id)" style="position: absolute; bottom: 0px; left: {{(marker.position * pixelsPerSecond) - 6 }}px;" class="marker_icon" ng-src="media/images/markers/{{ marker.icon }}" draggable="false"/> |
56 | 56 | </span>
|
57 | 57 | <br class="cleared">
|
58 | 58 |
|
|
63 | 63 |
|
64 | 64 | <!-- TRACKS NAMES (left of screen) -->
|
65 | 65 | <div id="track_controls">
|
66 |
| - <div ng-repeat="layer in project.layers.slice().reverse()" id="track_static_{{layer.number}}" ng-right-click="ShowTrackMenu(layer.id)" class="track_name"> |
| 66 | + <div ng-repeat="layer in project.layers.slice().reverse()" id="track_static_{{layer.number}}" ng-right-click="showTrackMenu(layer.id)" class="track_name"> |
67 | 67 | <div class="track_top">
|
68 |
| - <div tl-clip-menu class="track_menu" ng-mousedown="ShowTrackMenu(layer.id)"></div> |
69 |
| - <span class="track_label">{{GetTrackName(layer.label, project.layers.length - $index)}}</span><span ng-show="layer.lock" class="track_lock"></span> |
| 68 | + <div tl-clip-menu class="track_menu" ng-mousedown="showTrackMenu(layer.id)"></div> |
| 69 | + <span class="track_label">{{getTrackName(layer.label, project.layers.length - $index)}}</span><span ng-show="layer.lock" class="track_lock"></span> |
70 | 70 | </div>
|
71 | 71 | </div>
|
72 | 72 | <br>
|
73 | 73 | </div>
|
74 | 74 | <!-- TRACKS CONTAINER (right of screen) -->
|
75 | 75 | <div tl-scrollable-tracks id="scrolling_tracks">
|
76 |
| - <div id="track-container" tl-track tl-multi-selectable style="width: {{GetTimelineWidth(1024)}}px; padding-bottom: 2px;"> |
| 76 | + <div id="track-container" tl-track tl-multi-selectable style="width: {{getTimelineWidth(1024)}}px; padding-bottom: 2px;"> |
77 | 77 | <!-- TRACKS -->
|
78 |
| - <div ng-repeat="layer in project.layers.slice().reverse()" id="track_{{layer.number}}" ng-right-click="ShowTimelineMenu($event, layer.number)" class="{{GetTrackStyle(layer.lock)}}" style="width:{{GetTimelineWidth(1024)}}px;"> |
| 78 | + <div ng-repeat="layer in project.layers.slice().reverse()" id="track_{{layer.number}}" ng-right-click="showTimelineMenu($event, layer.number)" class="{{getTrackStyle(layer.lock)}}" style="width:{{getTimelineWidth(1024)}}px;"> |
79 | 79 | </div>
|
80 | 80 |
|
81 | 81 | <!-- CLIPS -->
|
82 |
| - <div ng-hide tl-clip ng-repeat="clip in project.clips" id="clip_{{clip.id}}" ng-click="SelectClip(clip.id, true, $event)" ng-right-click="ShowClipMenu(clip.id, $event)" class="clip droppable" ng-class="getClipStyle(clip)" style="width:{{(clip.end - clip.start) * pixelsPerSecond}}px; left:{{clip.position * pixelsPerSecond}}px; top:{{getTrackTop(clip.layer)}}px;z-index:{{1000 + $index}};"> |
| 82 | + <div ng-hide tl-clip ng-repeat="clip in project.clips" id="clip_{{clip.id}}" ng-click="selectClip(clip.id, true, $event)" ng-right-click="showClipMenu(clip.id, $event)" class="clip droppable" ng-class="getClipStyle(clip)" style="width:{{(clip.end - clip.start) * pixelsPerSecond}}px; left:{{clip.position * pixelsPerSecond}}px; top:{{getTrackTop(clip.layer)}}px;z-index:{{1000 + $index}};"> |
83 | 83 | <div class="clip_top">
|
84 |
| - <div tl-clip-menu class="clip_menu" ng-show="!enable_razor" ng-mousedown="ShowClipMenu(clip.id, $event)" tooltip-enable="!enable_razor" tooltip="{{clip.title}}" tooltip-placement="bottom" tooltip-popup-delay="400"></div> |
| 84 | + <div tl-clip-menu class="clip_menu" ng-show="!enable_razor" ng-mousedown="showClipMenu(clip.id, $event)" tooltip-enable="!enable_razor" tooltip="{{clip.title}}" tooltip-placement="bottom" tooltip-popup-delay="400"></div> |
85 | 85 |
|
86 | 86 | <!-- CLIP EFFECTS -->
|
87 | 87 | <div ng-show="!enable_razor" class="effect-container" id="effects_{{clip.id}}">
|
88 |
| - <div class="clip_effects" ng-repeat="effect in clip.effects" id="effect_{{effect.id}}" style="background-color: {{ GetEffectColor(effect.type); }};" ng-click="SelectEffect(effect.id); $event.stopPropagation();" ng-right-click="ShowEffectMenu(effect.id); $event.stopPropagation();" tooltip="{{effect.type}} ({{$index+1}}/{{clip.effects.length}})" tooltip-placement="bottom" tooltip-popup-delay="400"> |
| 88 | + <div class="clip_effects" ng-repeat="effect in clip.effects" id="effect_{{effect.id}}" style="background-color: {{ getEffectColor(effect.type) }};" ng-click="selectEffect(effect.id); $event.stopPropagation();" ng-right-click="showEffectMenu(effect.id); $event.stopPropagation();" tooltip="{{effect.type}} ({{$index+1}}/{{clip.effects.length}})" tooltip-placement="bottom" tooltip-popup-delay="400"> |
89 | 89 | {{effect.type[0]}}
|
90 | 90 | </div>
|
91 | 91 | </div>
|
|
99 | 99 | </div>
|
100 | 100 | <br class="cleared">
|
101 | 101 | <div ng-show="!clip.show_audio" class="thumb-container">
|
102 |
| - <img class="thumb thumb-start" ng-show="{{ GetThumbPath(clip) }}" ng-src="{{ GetThumbPath(clip) }}"/> |
| 102 | + <img class="thumb thumb-start" ng-show="{{ getThumbPath(clip) }}" ng-src="{{ getThumbPath(clip) }}"/> |
103 | 103 | </div>
|
104 | 104 | <div ng-show="clip.show_audio" class="audio-container">
|
105 | 105 | <canvas tl-audio height="46px" width="{{ (clip.end - clip.start) * pixelsPerSecond}}px" class="audio"></canvas>
|
106 | 106 | </div>
|
107 | 107 | </div>
|
108 | 108 |
|
109 | 109 | <!-- TRANSITIONS -->
|
110 |
| - <div ng-hide tl-transition ng-repeat="transition in project.effects" id="transition_{{transition.id}}" ng-click="SelectTransition(transition.id, true, $event)" ng-right-click="ShowTransitionMenu(transition.id, $event)" class="transition droppable" ng-class="getClipStyle(transition)" style="width:{{ (transition.end - transition.start) * pixelsPerSecond}}px; left:{{transition.position * pixelsPerSecond}}px; top:{{getTrackTop(transition.layer)}}px;z-index:{{5000 + $index}};"> |
| 110 | + <div ng-hide tl-transition ng-repeat="transition in project.effects" id="transition_{{transition.id}}" ng-click="selectTransition(transition.id, true, $event)" ng-right-click="showTransitionMenu(transition.id, $event)" class="transition droppable" ng-class="getClipStyle(transition)" style="width:{{ (transition.end - transition.start) * pixelsPerSecond}}px; left:{{transition.position * pixelsPerSecond}}px; top:{{getTrackTop(transition.layer)}}px;z-index:{{5000 + $index}};"> |
111 | 111 | <div class="transition_top">
|
112 |
| - <div tl-clip-menu class="transition_menu" ng-show="!enable_razor" ng-mousedown="ShowTransitionMenu(transition.id, $event)"></div> |
| 112 | + <div tl-clip-menu class="transition_menu" ng-show="!enable_razor" ng-mousedown="showTransitionMenu(transition.id, $event)"></div> |
113 | 113 | <!-- TRANSITION KEYFRAME POINTS -->
|
114 | 114 | <div ng-repeat="(point, value) in getKeyframes(transition)" id="point_{{transition.id}}_{{point}}_{{$index}}" style="left: {{(((point - 1) / (project.fps.num / project.fps.den) - transition.start) * pixelsPerSecond)}}px;" class="point_region" ng-show="transition.selected "><div class="point_icon"></div></div>
|
115 | 115 |
|
|
135 | 135 |
|
136 | 136 | </script>
|
137 | 137 |
|
138 |
| - <div ng-show="!Qt" class="gear" ng-click="ToggleDebug()"> |
| 138 | + <div ng-show="!Qt" class="gear" ng-click="toggleDebug()"> |
139 | 139 | <img src="media/images/gear.png" width="40">
|
140 | 140 | </div>
|
141 | 141 |
|
|
0 commit comments