Skip to content

Commit

Permalink
#1826: do not select a hotkey tool if we are hovering over an atom / …
Browse files Browse the repository at this point in the history
…fix import error
  • Loading branch information
KonstantinEpam committed Nov 30, 2022
1 parent db45c88 commit bd24f58
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/ketcher-react/src/script/ui/state/hotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
* limitations under the License.
***************************************************************************/

declare global {
interface Window {
clipboardData: any
}
}

import * as clipArea from '../component/cliparea/cliparea'

import {
Expand All @@ -37,6 +31,12 @@ import actions from '../action'
import keyNorm from '../data/convert/keynorm'
import { openDialog } from './modal'

declare global {
interface Window {
clipboardData: any
}
}

export function initKeydownListener(element) {
return function (dispatch, getState) {
const hotKeys = initHotKeys()
Expand Down

0 comments on commit bd24f58

Please sign in to comment.