fix: only realign grabbable
This commit is contained in:
@@ -131,7 +131,9 @@ impl OverlayState {
|
||||
Quat::IDENTITY,
|
||||
translation.into(),
|
||||
);
|
||||
if self.grabbable {
|
||||
self.realign(&app.input_state.hmd);
|
||||
}
|
||||
self.dirty = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -528,7 +528,7 @@ elements:
|
||||
rect: [330, 505, 220, 30]
|
||||
font_size: 12
|
||||
fg_color: "#ffffff"
|
||||
bg_color: "#303010"
|
||||
bg_color: "#401010"
|
||||
text: "Enabled"
|
||||
click_down:
|
||||
- type: System
|
||||
@@ -539,7 +539,7 @@ elements:
|
||||
rect: [330, 555, 220, 30]
|
||||
font_size: 12
|
||||
fg_color: "#ffffff"
|
||||
bg_color: "#303010"
|
||||
bg_color: "#401010"
|
||||
text: "Sound Enabled"
|
||||
click_down:
|
||||
- type: System
|
||||
|
||||
Reference in New Issue
Block a user