Skip to content

Commit

Permalink
fix highlight pos
Browse files Browse the repository at this point in the history
  • Loading branch information
ttop32 committed Dec 4, 2023
1 parent 16a5a20 commit 4313fe7
Show file tree
Hide file tree
Showing 9 changed files with 296 additions and 369 deletions.
2 changes: 1 addition & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const common = require("./webpack.common.js");
const PATHS = require("./paths");
var glob = require("glob");
var path = require("path");
const ExtReloader = require("@reorx/webpack-ext-reloader");
const ExtReloader = require("webpack-ext-reloader");

// Merge webpack configuration files
module.exports = (env, argv) => {
Expand Down
3 changes: 3 additions & 0 deletions doc/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ When mouse hover on text, it shows translated tooltip in any language.
English, Russian, Japanese, Chinese and so on

# Change Log
- 0.1.94
- hide pdf viewer url
- add highlight (request by imymexxx)
- 0.1.93
- fix pdf url
- 0.1.92
Expand Down
5 changes: 3 additions & 2 deletions doc/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
- Use <kbd>left ctrl</kbd> to listen tts pronunciation when tooltip is shown(Press <kbd>esc</kbd> to stop voice)
- Use <kbd>right alt</kbd> to translate writing text (or highlighted text) in input box. (Do undo, press <kbd>ctrl</kbd> +<kbd>z</kbd>)
![result](/doc/11.gif)
- Setting page is given for customizing to taste
![result](/doc/14.gif)
- Support online pdf to display translated tooltip using PDF.js (local computer pdf file need additional permission, see [exception](https://github.com/ttop32/MouseTooltipTranslator/blob/main/doc/intro.md#exception))
![result](/doc/12.gif)
- Support dual subtitles for youtube video
![result](/doc/16.gif)
- Process OCR when hold <kbd>left shift</kbd> + <kbd>mouse over</kbd> on image (ex manga)
![result](/doc/15.gif)
- Setting page is given for customizing to taste
![result](/doc/14.gif)

# Exception

- If source text language and translate language are same, it will skip
Expand Down
Loading

0 comments on commit 4313fe7

Please sign in to comment.