Skip to content

Commit

Permalink
🦄 refactor: Change Ctrl + Delete to Ctrl + Q
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Sep 20, 2024
1 parent 1542535 commit 1a4124c
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.2.0
BETTER_MEDIA_INFO_VERSION: 0.3.0

jobs:
build_package:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.2.0
BETTER_MEDIA_INFO_VERSION: 0.4.0

jobs:
build_package:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.2.0
BETTER_MEDIA_INFO_VERSION: 0.3.0

jobs:
build_package:
Expand Down
4 changes: 4 additions & 0 deletions docs/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release Notes

## 0.3.0

* TBD

## 0.2.0

* Supported media file comparison view
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bettermi",
"version": "0.2.0",
"version": "0.3.0",
"description": "BetterMediaInfo",
"type": "module",
"scripts": {
Expand Down
30 changes: 15 additions & 15 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bettermi"
version = "0.2.0"
name = "BetterMediaInfo"
version = "0.3.0"
description = "Betterh MediaInfo is a better GUI for MediaInfo"
authors = ["Sam Cao"]
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ fn main() {
tauri::Builder::default()
.setup(|app| {
let window = app.get_window("main").unwrap();
let _ = window.set_title("BetterMediaInfo v0.2.0");
let _ = window.set_title("BetterMediaInfo v0.3.0");
Ok(())
})
.invoke_handler(tauri::generate_handler![
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "BetterMediaInfo",
"version": "0.2.0"
"version": "0.3.0"
},
"tauri": {
"allowlist": {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/toolbar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
selectTabSettings();
}
} else if (event.ctrlKey && !event.altKey && !event.shiftKey) {
if (event.key === "Delete") {
if (event.key === "q") {
event.stopPropagation();
clearFiles();
}
Expand Down Expand Up @@ -128,7 +128,7 @@
</Tooltip>
</ButtonGroup>
<ButtonGroup variant="outline" color="default">
<Tooltip title="Clear (Ctrl + Delete)" offset={6}>
<Tooltip title="Clear (Ctrl + Q)" offset={6}>
<Button
classes={{ root: BUTTON_CLASSES_NORMAL }}
on:click={clearFiles}
Expand Down

0 comments on commit 1a4124c

Please sign in to comment.