Make it work with laser pointers (selection at least), and fix magic

numbers.
This commit is contained in:
howard-stearns 2016-07-15 16:46:20 -07:00
parent 99e9a76803
commit f00114e53e

View file

@ -43,25 +43,30 @@ Rectangle {
} }
} }
} }
property int dropHorizontalOffset: 0;
property int dropVerticalOffset: 1;
property int dropRadius: 2;
property int dropSamples: 9;
property int dropSpread: 0;
DropShadow { DropShadow {
source: place; source: place;
anchors.fill: place; anchors.fill: place;
horizontalOffset: 0; horizontalOffset: dropHorizontalOffset;
radius: 2; verticalOffset: dropVerticalOffset;
samples: 9; radius: dropRadius;
samples: dropSamples;
color: hifi.colors.black; color: hifi.colors.black;
verticalOffset: 1; spread: dropSpread;
spread: 0;
} }
DropShadow { DropShadow {
source: users; source: users;
anchors.fill: users; anchors.fill: users;
horizontalOffset: 0; horizontalOffset: dropHorizontalOffset;
radius: 2; verticalOffset: dropVerticalOffset;
samples: 9; radius: dropRadius;
samples: dropSamples;
color: hifi.colors.black; color: hifi.colors.black;
verticalOffset: 1; spread: dropSpread;
spread: 0;
} }
RalewaySemiBold { RalewaySemiBold {
id: place; id: place;
@ -87,5 +92,6 @@ Rectangle {
anchors.fill: parent; anchors.fill: parent;
acceptedButtons: Qt.LeftButton; acceptedButtons: Qt.LeftButton;
onClicked: goFunction(parent); onClicked: goFunction(parent);
hoverEnabled: true;
} }
} }