mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-06-07 00:04:48 +00:00
Added hotkey for GodDoodle
This commit is contained in:
parent
cc7f383d8d
commit
e264e506da
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user