From 49a8964c4e60a26b447f8118d642775e7749816c Mon Sep 17 00:00:00 2001 From: Faye Li Date: Wed, 25 Jan 2017 14:43:39 -0800 Subject: [PATCH 1/2] reference new users icon art --- .../resources/icons/tablet-icons/users-i.svg | 30 +++++++++++++++++++ scripts/system/users.js | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 interface/resources/icons/tablet-icons/users-i.svg diff --git a/interface/resources/icons/tablet-icons/users-i.svg b/interface/resources/icons/tablet-icons/users-i.svg new file mode 100644 index 0000000000..aa34dd35f9 --- /dev/null +++ b/interface/resources/icons/tablet-icons/users-i.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/system/users.js b/scripts/system/users.js index 4c9663e203..f440a62d62 100644 --- a/scripts/system/users.js +++ b/scripts/system/users.js @@ -16,7 +16,7 @@ var MENU_ITEM = "Users Online"; // create tablet button var tablet = Tablet.getTablet("com.highfidelity.interface.tablet.system"); var button = tablet.addButton({ - icon: "icons/tablet-icons/people-i.svg", + icon: "icons/tablet-icons/users-i.svg", text: "Users", isActive: Menu.isOptionChecked(MENU_ITEM) }); From 6f46136699a6045963525e4b8a51c288594b4d0a Mon Sep 17 00:00:00 2001 From: Faye Li Date: Wed, 25 Jan 2017 15:02:55 -0800 Subject: [PATCH 2/2] reorder buttons to match mockup --- scripts/defaultScripts.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/defaultScripts.js b/scripts/defaultScripts.js index bd3131f4ff..bb96fe96cf 100644 --- a/scripts/defaultScripts.js +++ b/scripts/defaultScripts.js @@ -14,13 +14,17 @@ var DEFAULT_SCRIPTS = [ "system/progress.js", "system/away.js", - "system/users.js", "system/mute.js", - "system/goto.js", "system/hmd.js", + "system/menu.js", + "system/bubble.js", + "system/snapshot.js", + "system/help.js", + "system/pal.js", //"system/mod.js", // older UX, if you prefer + "system/goto.js", "system/marketplaces/marketplaces.js", "system/edit.js", - "system/pal.js", //"system/mod.js", // older UX, if you prefer + "system/users.js", "system/selectAudioDevice.js", "system/notifications.js", "system/controllers/controllerDisplayManager.js", @@ -32,11 +36,7 @@ var DEFAULT_SCRIPTS = [ "system/controllers/toggleAdvancedMovementForHandControllers.js", "system/dialTone.js", "system/firstPersonHMD.js", - "system/snapshot.js", - "system/help.js", - "system/bubble.js", - "system/tablet-ui/tabletUI.js", - "system/menu.js" + "system/tablet-ui/tabletUI.js" ]; // add a menu item for debugging