show yomichan updated message only when shift to scan is disabled
This commit is contained in:
parent
efc5be4dac
commit
0a75e14d93
@ -51,11 +51,11 @@
|
|||||||
<h3>Scanning Options</h3>
|
<h3>Scanning Options</h3>
|
||||||
|
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label><input type="checkbox" id="hold-shift-to-scan"> Hold <kbd>Shift</kbd> to scan</label>
|
<label><input type="checkbox" id="middle-mouse-button-scan"> Middle mouse button scanning</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label><input type="checkbox" id="middle-mouse-button-scan"> Middle mouse button scanning</label>
|
<label><input type="checkbox" id="hold-shift-to-scan"> Hold <kbd>Shift</kbd> to scan</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
|
@ -203,7 +203,7 @@ window.driver = new class {
|
|||||||
|
|
||||||
handleError(error, textSource) {
|
handleError(error, textSource) {
|
||||||
if (window.orphaned) {
|
if (window.orphaned) {
|
||||||
if (textSource) {
|
if (textSource && this.options.scanning.requireShift) {
|
||||||
this.popup.showNextTo(textSource.getRect());
|
this.popup.showNextTo(textSource.getRect());
|
||||||
this.popup.showOrphaned();
|
this.popup.showOrphaned();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user