kingkont 0.7.75 → 0.7.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.html +1 -0
- package/package.json +1 -1
- package/renderer/timeline.js +9 -0
package/index.html
CHANGED
|
@@ -141,6 +141,7 @@
|
|
|
141
141
|
<button id="timelineNative" title="Нативный плеер (mpv)" style="display:none;">🖥</button>
|
|
142
142
|
<button id="timelineExport" title="Экспорт mp4 (ffmpeg)">💾</button>
|
|
143
143
|
<button id="timelineClear" title="Очистить" class="danger">⌫</button>
|
|
144
|
+
<button id="timelineClose" title="Закрыть таймлайн" style="margin-left:6px;">×</button>
|
|
144
145
|
</div>
|
|
145
146
|
<div class="timeline-body">
|
|
146
147
|
<div class="timeline-tracks" id="timelineTracks"></div>
|
package/package.json
CHANGED
package/renderer/timeline.js
CHANGED
|
@@ -1331,6 +1331,15 @@ $('timelineBtn').addEventListener('click', () => {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
});
|
|
1333
1333
|
|
|
1334
|
+
// Кнопка × на самом таймлайне — закрывает панель (то же что повторный
|
|
1335
|
+
// клик на #timelineBtn). Дублирует чтобы не приходилось целиться в
|
|
1336
|
+
// маленькую кнопку в верхнем тулбаре.
|
|
1337
|
+
$('timelineClose')?.addEventListener('click', () => {
|
|
1338
|
+
if (!$('timelinePanel').classList.contains('hidden')) {
|
|
1339
|
+
$('timelineBtn').click();
|
|
1340
|
+
}
|
|
1341
|
+
});
|
|
1342
|
+
|
|
1334
1343
|
|
|
1335
1344
|
$('timelineClear').addEventListener('click', () => {
|
|
1336
1345
|
if (!state.currentBoard) return;
|