mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +02:00
diff minimize
This commit is contained in:
parent
5ed8831bee
commit
1753508f53
1 changed files with 0 additions and 13 deletions
|
@ -111,10 +111,6 @@ function onClicked() {
|
||||||
reticleVisible = Reticle.visible;
|
reticleVisible = Reticle.visible;
|
||||||
Reticle.visible = false;
|
Reticle.visible = false;
|
||||||
Window.snapshotTaken.connect(resetButtons);
|
Window.snapshotTaken.connect(resetButtons);
|
||||||
|
|
||||||
//button.writeProperty("buttonState", 0);
|
|
||||||
//button.writeProperty("defaultState", 0);
|
|
||||||
//button.writeProperty("hoverState", 2);
|
|
||||||
|
|
||||||
// hide overlays if they are on
|
// hide overlays if they are on
|
||||||
if (resetOverlays) {
|
if (resetOverlays) {
|
||||||
|
@ -162,10 +158,6 @@ function resetButtons(pathStillSnapshot, pathAnimatedSnapshot, notify) {
|
||||||
// Allow the user to click the snapshot HUD button again
|
// Allow the user to click the snapshot HUD button again
|
||||||
button.clicked.connect(onClicked);
|
button.clicked.connect(onClicked);
|
||||||
}
|
}
|
||||||
// update button states
|
|
||||||
//button.writeProperty("buttonState", 1);
|
|
||||||
//button.writeProperty("defaultState", 1);
|
|
||||||
//button.writeProperty("hoverState", 3);
|
|
||||||
Window.snapshotTaken.disconnect(resetButtons);
|
Window.snapshotTaken.disconnect(resetButtons);
|
||||||
|
|
||||||
// A Snapshot Review dialog might be left open indefinitely after taking the picture,
|
// A Snapshot Review dialog might be left open indefinitely after taking the picture,
|
||||||
|
@ -191,11 +183,6 @@ function processingGif() {
|
||||||
// show hud
|
// show hud
|
||||||
Reticle.visible = reticleVisible;
|
Reticle.visible = reticleVisible;
|
||||||
|
|
||||||
// update button states
|
|
||||||
//button.writeProperty("buttonState", 0);
|
|
||||||
//button.writeProperty("defaultState", 0);
|
|
||||||
//button.writeProperty("hoverState", 2);
|
|
||||||
// Don't allow the user to click the snapshot button yet
|
|
||||||
button.clicked.disconnect(onClicked);
|
button.clicked.disconnect(onClicked);
|
||||||
// show overlays if they were on
|
// show overlays if they were on
|
||||||
if (resetOverlays) {
|
if (resetOverlays) {
|
||||||
|
|
Loading…
Reference in a new issue