From cb80c6be1acdb969b1dc705843ac47662ea5d799 Mon Sep 17 00:00:00 2001 From: humbletim Date: Sat, 23 May 2020 14:01:07 -0400 Subject: [PATCH] +app icon --- scripts/system/inventory/public/inventory-a-msg.svg | 1 + scripts/system/inventory/public/inventory-a.svg | 1 + scripts/system/inventory/public/inventory-i-msg.svg | 1 + scripts/system/inventory/public/inventory-i.svg | 1 + scripts/system/inventory/public/inventory.js | 4 +++- 5 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 scripts/system/inventory/public/inventory-a-msg.svg create mode 100644 scripts/system/inventory/public/inventory-a.svg create mode 100644 scripts/system/inventory/public/inventory-i-msg.svg create mode 100644 scripts/system/inventory/public/inventory-i.svg diff --git a/scripts/system/inventory/public/inventory-a-msg.svg b/scripts/system/inventory/public/inventory-a-msg.svg new file mode 100644 index 0000000000..480a3fdd5d --- /dev/null +++ b/scripts/system/inventory/public/inventory-a-msg.svg @@ -0,0 +1 @@ + diff --git a/scripts/system/inventory/public/inventory-a.svg b/scripts/system/inventory/public/inventory-a.svg new file mode 100644 index 0000000000..c53d21722c --- /dev/null +++ b/scripts/system/inventory/public/inventory-a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/scripts/system/inventory/public/inventory-i-msg.svg b/scripts/system/inventory/public/inventory-i-msg.svg new file mode 100644 index 0000000000..95856910fa --- /dev/null +++ b/scripts/system/inventory/public/inventory-i-msg.svg @@ -0,0 +1 @@ + diff --git a/scripts/system/inventory/public/inventory-i.svg b/scripts/system/inventory/public/inventory-i.svg new file mode 100644 index 0000000000..c5ec3d8cc3 --- /dev/null +++ b/scripts/system/inventory/public/inventory-i.svg @@ -0,0 +1 @@ + diff --git a/scripts/system/inventory/public/inventory.js b/scripts/system/inventory/public/inventory.js index d27eb1827c..78cffd9f47 100644 --- a/scripts/system/inventory/public/inventory.js +++ b/scripts/system/inventory/public/inventory.js @@ -159,6 +159,7 @@ function pushReceivedItemToQueue(senderUUID, senderName, type, name, url) { } receivingItemQueue.push(packageRequest); + ui.messagesWaiting(receivingItemQueue.length > 0); } function sendReceivingItemQueue() { @@ -167,6 +168,7 @@ function sendReceivingItemQueue() { function updateReceivingItemQueue(data) { receivingItemQueue = data; + ui.messagesWaiting(receivingItemQueue.length > 0); } function sendNearbyUsers() { @@ -177,7 +179,7 @@ function sendNearbyUsers() { var objectToWrite; var aviName = AvatarList.getAvatar(user).displayName; // Window.alert("aviName" + aviName + "user" + user + "MyAvatar.sessionUUID" + MyAvatar.sessionUUID); - if (user != MyAvatar.sessionUUID) { // Don't add ourselves to the list! + if (user != MyAvatar.sessionUUID || Controller.getValue(Controller.Hardware.Keyboard.Shift)) { // Don't add ourselves to the list! objectToWrite = { "name": aviName, "uuid": user }; nearbyUsersToSend.push(objectToWrite); }