From 058af34c82ce10e8ab6b821ecfb31a8acc36dd1e Mon Sep 17 00:00:00 2001
From: Cytruss-fruit <85618974+Cytruss-fruit@users.noreply.github.com>
Date: Wed, 9 Jun 2021 15:09:08 +0300
Subject: [PATCH 1/3] Adds clear button
This along side the js file change add a clear button under the ending frame text area, which is something SPRT has and I thought this needed it as well.
---
index.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/index.html b/index.html
index 401e392..b179a11 100644
--- a/index.html
+++ b/index.html
@@ -38,6 +38,9 @@
Find the starting point (you can use the , and . keys to find the exact frame). Right
click the video and select “Copy debug info” and paste it for starting frame. Repeat for ending frame.
-
+
-
+
+
+
-
+
-
+
+
+
-
+
Video Time
Date: Wed, 9 Jun 2021 16:05:36 +0300
Subject: [PATCH 3/3] Js for the buttons
---
main.js | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/main.js b/main.js
index 1c33aba..555087d 100644
--- a/main.js
+++ b/main.js
@@ -46,6 +46,20 @@ function compute() {
document.getElementById("modMessageButton").disabled = false;
}
+function ClearTimeStart() {
+ document.getElementById("startobj").value = "";
+
+
+}
+function ClearTimeEnd() {
+ document.getElementById("endobj").value = "";
+}
+function ClearTime() {
+ document.getElementById("startobj").value = "";
+ document.getElementById("endobj").value = "";
+
+}
+
function copyModMessage() {
// Allow user to copy mod message to clipboard
const textArea = document.getElementById('modMessage');