Added hotkey for GodDoodle

This commit is contained in:
Sharoy Veduchi 2023-06-13 21:16:28 -07:00 committed by GitHub
parent cc7f383d8d
commit e264e506da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,9 +447,21 @@ public U0 DocPutKey(CDoc *doc, I64 ch=0, I64 sc=0)
case SC_F6: case SC_F6:
if (sc & SCF_KEY_DESC) if (sc & SCF_KEY_DESC)
KeyDescSet("Cmd /God Song"); {
if (sc & SCF_SHIFT)
KeyDescSet("Cmd /God Doodle");
else
KeyDescSet("Cmd /God Song");
}
else else
{
if(sc & SCF_SHIFT) {
DocUnlock(doc);
GodDoodle;
DocLock(doc);
} else
GodSong; GodSong;
}
break; break;
case SC_F7: case SC_F7: