Greatly improve responsiveness of the virtual keyboard on the website (#123)

pull/129/head
Vitor M 5 years ago committed by 小弟调调™
parent f3628460c1
commit c6634a8eb5

@ -2,7 +2,7 @@
* hotkeys-js v3.7.3
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2019 kenny wong <wowohoo@qq.com>
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
* http://jaywcjlove.github.io/hotkeys
*
* Licensed under the MIT license.

@ -2,7 +2,7 @@
* hotkeys-js v3.7.3
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2019 kenny wong <wowohoo@qq.com>
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
* http://jaywcjlove.github.io/hotkeys
*
* Licensed under the MIT license.

2
dist/hotkeys.js vendored

@ -2,7 +2,7 @@
* hotkeys-js v3.7.3
* A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.
*
* Copyright (c) 2019 kenny wong <wowohoo@qq.com>
* Copyright (c) 2020 kenny wong <wowohoo@qq.com>
* http://jaywcjlove.github.io/hotkeys
*
* Licensed under the MIT license.

@ -31,14 +31,15 @@
border-radius: 8px;
border: 1px solid #3A3A3A;
box-shadow: 1px 0px 0px rgb(0,0,0),0px 1px 0px rgb(0,0,0),-1px 0px 0px rgb(0,0,0),0px -1px 0px rgb(0,0,0);
transition: all .2s;
transition: all .4s ease-in;
user-select: none;
cursor: pointer;
position: relative;
&:active, &:global(.pressed) {
color:#52F800;
background-color: #100068;
border:1px solid #332376;
border: 1px solid #332376;
transition: 1ms linear;
}
&:nth-child(1) {
width: 99px;

Loading…
Cancel
Save