mirror of
https://github.com/demostf/cutter.git
synced 2026-06-03 11:54:08 +02:00
auto tick
This commit is contained in:
parent
edd4fe1c7b
commit
0ebfb9200f
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ fileSelect.addEventListener('change', (event) => {
|
||||||
let highlightTick = parseInt(match[2]);
|
let highlightTick = parseInt(match[2]);
|
||||||
startInput.value = highlightTick;
|
startInput.value = highlightTick;
|
||||||
endInput.value = highlightTick + tickRate * 5 * 60;
|
endInput.value = highlightTick + tickRate * 5 * 60;
|
||||||
outputName = `${match[1]}_${tickRate * 10}.dem`;
|
outputName = `${match[1]}_cut.dem`;
|
||||||
} else {
|
} else {
|
||||||
outputName = name.replace(/\.dem/, "_cut.dem");
|
outputName = name.replace(/\.dem/, "_cut.dem");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue