Skip to content

Commit

Permalink
Make output video filename read only.
Browse files Browse the repository at this point in the history
  • Loading branch information
luckytyphlosion committed Jun 25, 2023
1 parent cb0f3da commit f7bfe7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function OutputVideoFilenameInput() {
<div>
<label htmlFor="output-video-filename">Output filename: </label>
<input
className="filename-input" type="text"
className="filename-input" type="text" readOnly
{...register("output-video-filename", {required: {
value: true,
message: "This input is required."
Expand Down
3 changes: 1 addition & 2 deletions webpack/renderer.webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ const config: Configuration = {
},
output: {
path: path.resolve(rootPath, "dist/renderer"),
filename: "js/[name].js",
sourceMapFilename: "js/[name].js.map"
filename: "js/[name].js"
},
optimization: {
minimize: false,
Expand Down

0 comments on commit f7bfe7e

Please sign in to comment.