Skip to content

Commit

Permalink
Implement Reverso Context #19
Browse files Browse the repository at this point in the history
Prevent to speak selected text by holding Alt or Cmd while selecting text with  in Safari (fix)
  • Loading branch information
filimo committed Oct 10, 2019
1 parent 5f1f8fb commit 1ae75e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReaderTranslator/Views/ReaderView/Modes/SafariView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct SafariView: View {
switch event.name {
case "keydown":
if let extra = event.extra,
extra.shiftKey == false {
extra.shiftKey != true {

if extra.keyCode == 65 { // a
self.store.isVoiceEnabled.toggle()
Expand Down

0 comments on commit 1ae75e0

Please sign in to comment.