mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Merge pull request #212 from project-error/feat/keep-input
This commit is contained in:
3 files changed
+50
-2
No files matched your search
@@ -57,6 +57,8 @@ const showPhone = async (): Promise<void> => {
|
||||
sendMessage('PHONE', PhoneEvents.SET_VISIBILITY, true);
|
||||
sendMessage('PHONE', PhoneEvents.SET_TIME, time);
|
||||
SetNuiFocus(true, true);
|
||||
SetNuiFocusKeepInput(true);
|
||||
emit('npwd:disableControlActions', true);
|
||||
};
|
||||
|
||||
const hidePhone = async (): Promise<void> => {
|
||||
@@ -64,6 +66,8 @@ const hidePhone = async (): Promise<void> => {
|
||||
sendMessage('PHONE', PhoneEvents.SET_VISIBILITY, false);
|
||||
await phoneCloseAnim();
|
||||
SetNuiFocus(false, false);
|
||||
SetNuiFocusKeepInput(false);
|
||||
emit('npwd:disableControlActions', false);
|
||||
};
|
||||
|
||||
/* * * * * * * * * * * * *
|
||||
|
||||
Reference in new issue
Block a user