mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-11 23:07:23 +02:00
Make it work with laser pointers (selection at least), and fix magic
numbers.
This commit is contained in:
parent
99e9a76803
commit
f00114e53e
1 changed files with 16 additions and 10 deletions
|
@ -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 {
|
||||
source: place;
|
||||
anchors.fill: place;
|
||||
horizontalOffset: 0;
|
||||
radius: 2;
|
||||
samples: 9;
|
||||
horizontalOffset: dropHorizontalOffset;
|
||||
verticalOffset: dropVerticalOffset;
|
||||
radius: dropRadius;
|
||||
samples: dropSamples;
|
||||
color: hifi.colors.black;
|
||||
verticalOffset: 1;
|
||||
spread: 0;
|
||||
spread: dropSpread;
|
||||
}
|
||||
DropShadow {
|
||||
source: users;
|
||||
anchors.fill: users;
|
||||
horizontalOffset: 0;
|
||||
radius: 2;
|
||||
samples: 9;
|
||||
horizontalOffset: dropHorizontalOffset;
|
||||
verticalOffset: dropVerticalOffset;
|
||||
radius: dropRadius;
|
||||
samples: dropSamples;
|
||||
color: hifi.colors.black;
|
||||
verticalOffset: 1;
|
||||
spread: 0;
|
||||
spread: dropSpread;
|
||||
}
|
||||
RalewaySemiBold {
|
||||
id: place;
|
||||
|
@ -87,5 +92,6 @@ Rectangle {
|
|||
anchors.fill: parent;
|
||||
acceptedButtons: Qt.LeftButton;
|
||||
onClicked: goFunction(parent);
|
||||
hoverEnabled: true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue