stardust-xr-flatland: 0-unstable-2024-04-13 -> 0.51.1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
diff --git a/src/resize_handles.rs b/src/resize_handles.rs
|
||||
index 0fcb071..69d2f2f 100644
|
||||
--- a/src/resize_handles.rs
|
||||
+++ b/src/resize_handles.rs
|
||||
@@ -451,7 +451,7 @@ impl<State: ValidState> CustomElement<State> for ResizeHandles<State> {
|
||||
#[tokio::test]
|
||||
async fn test_resize_handles() {
|
||||
use serde::{Deserialize, Serialize};
|
||||
- use stardust_xr_asteroids::{client, ClientState, Migrate, Reify, Transformable};
|
||||
+ use stardust_xr_asteroids::{client, ClientState, Migrate, Reify, Tasker, Transformable};
|
||||
|
||||
// Simple test state
|
||||
#[derive(Debug, Serialize, Deserialize)]
|
||||
@@ -474,7 +474,11 @@ async fn test_resize_handles() {
|
||||
const APP_ID: &'static str = "org.stardustxr.flatland.ResizeHandles";
|
||||
}
|
||||
impl Reify for State {
|
||||
- fn reify(&self) -> impl stardust_xr_asteroids::Element<Self> {
|
||||
+ fn reify(
|
||||
+ &self,
|
||||
+ _context: &Context,
|
||||
+ _tasks: impl Tasker<Self>,
|
||||
+ ) -> impl stardust_xr_asteroids::Element<Self> {
|
||||
stardust_xr_asteroids::elements::Spatial::default()
|
||||
.rot(Quat::from_rotation_y(self.time / 10.0))
|
||||
.build()
|
||||
@@ -7,18 +7,20 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "stardust-xr-flatland";
|
||||
version = "0-unstable-2024-04-13";
|
||||
version = "0.51.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stardustxr";
|
||||
repo = "flatland";
|
||||
rev = "b3b0f29c4ea1b82c96cf9de507837bf15a5e4c0e";
|
||||
hash = "sha256-m7c6XpmpTM1URuqMG2KqtaWbL2Vt8vJFJtmvq123BmY=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-Gp2r6PJiyNb+augDwS/vGPJfwb5U6pVYgSyhS9QlggY=";
|
||||
};
|
||||
|
||||
patches = [ ./fix-reify-test-signature.patch ];
|
||||
|
||||
env.STARDUST_RES_PREFIXES = "${finalAttrs.src}/res";
|
||||
|
||||
cargoHash = "sha256-oM4nQUEc3iq1x4uRp8Kw5WtE/L5b6VlLOfElMT9Tk98=";
|
||||
cargoHash = "sha256-2LT/Szwzs83Poe7BojmUFh9yyUEhSgHmBR5QaO/BE4g=";
|
||||
|
||||
__structuredAttrs = true;
|
||||
strictDeps = true;
|
||||
|
||||
Reference in New Issue
Block a user