-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from LZ2DMV/main
Add plugin: tune_checkbox
- Loading branch information
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# OWRX+ Receiver Plugin: tune_checkbox | ||
|
||
This a one-line `receiver` plugin to make the 'Hold mouse wheel down to tune' setting enabled by default. | ||
|
||
This setting allows you to use the mouse scroll to zoom into the waterfall. | ||
|
||
# load | ||
Add this lines in your `init.js` file: | ||
```js | ||
Plugins.load('https://0xaf.github.io/openwebrxplus-plugins/receiver/tune_checkbox/tune_checkbox.js'); | ||
``` | ||
|
||
# init.js | ||
You can find more info on `init.js` [on GitHub pages](https://0xaf.github.io/openwebrxplus-plugins/) or directly in [0xAF's GitHub repo](https://github.com/0xAF/openwebrxplus-plugins). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
* Plugin: Make the 'Hold mouse wheel down to tune' option checked by default. | ||
* Allows you to zoom into the waterfall with the mouse scroll. | ||
* License: Apache License 2.0 | ||
* Copyright (c) 2024 Dimitar Milkov, LZ2DMV | ||
*/ | ||
|
||
Plugins.tune_checkbox.no_css = true; | ||
|
||
$('#openwebrx-wheel-checkbox').prop('checked', true).change(); |