Swap button and tool icon colours to match grouping highlights

This commit is contained in:
David Rowe 2017-08-02 14:41:42 +12:00
parent 65e57a9262
commit 26a14d0934
2 changed files with 4 additions and 4 deletions

View file

@ -21,8 +21,8 @@ ToolIcon = function (side) {
ICON_COLORS = [ ICON_COLORS = [
{ red: 0, green: 240, blue: 240 }, { red: 0, green: 240, blue: 240 },
{ red: 240, green: 0, blue: 240 }, { red: 240, green: 240, blue: 0 },
{ red: 240, green: 240, blue: 0 } { red: 220, green: 60, blue: 220 }
], ],
LEFT_HAND = 0, LEFT_HAND = 0,

View file

@ -84,12 +84,12 @@ ToolMenu = function (side, leftInputs, rightInputs, setToolCallback) {
}, },
{ // Clone { // Clone
position: { x: 0.06, y: 0.02, z: 0.0 }, position: { x: 0.06, y: 0.02, z: 0.0 },
color: { red: 240, green: 0, blue: 240 }, color: { red: 240, green: 240, blue: 0 },
callback: "clone" callback: "clone"
}, },
{ // Group { // Group
position: { x: 0.10, y: 0.02, z: 0.0 }, position: { x: 0.10, y: 0.02, z: 0.0 },
color: { red: 240, green: 240, blue: 0 }, color: { red: 220, green: 60, blue: 220 },
callback: "group" callback: "group"
} }
], ],