kopia lustrzana https://github.com/cheeaun/phanpy
Fix compose button not working when clicked
rodzic
c18b3e741e
commit
2d409a1209
|
@ -55,7 +55,7 @@ export default function ComposeButton() {
|
|||
function handleButton(e) {
|
||||
// useKey will even listen to Shift
|
||||
// e.g. press Shift (without c) will trigger this 😱
|
||||
if (e.key.toLowerCase() !== 'c') return;
|
||||
if (e.key && e.key.toLowerCase() !== 'c') return;
|
||||
|
||||
if (snapStates.composerState.minimized) {
|
||||
states.composerState.minimized = false;
|
||||
|
|
Ładowanie…
Reference in New Issue