UI styling, main workspace layout (#119)

This commit is contained in:
Danny McGee
2024-04-05 20:15:09 -04:00
committed by GitHub
parent c5a0250d9f
commit bfc638b644
57 changed files with 2004 additions and 694 deletions
+11 -4
View File
@@ -1164,10 +1164,16 @@ mod wasm {
};
}
export interface AnimationTrack {
name?: string;
targetType: SceneElement;
animationTarget: AnimationTarget;
}
export interface UpdateAnimationTargets extends CustomEvent {
type: "update-animation-targets",
detail: {
added: Record<string, { name?: string, target_type: SceneElement, animation_target: AnimationTarget } >,
added: Record<string, AnimationTrack>,
removed: string[]
}
}
@@ -1177,9 +1183,9 @@ mod wasm {
time: number,
entity: string,
incoming_easing: "linear" | "cubic-hermite",
affect_translation: bool,
affect_rotation: bool,
affect_scale: bool
affect_translation: boolean,
affect_rotation: boolean,
affect_scale: boolean
}
export interface TimedAnimationClipInfo {
@@ -1221,6 +1227,7 @@ mod wasm {
"#;
#[derive(Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
struct AddedAnimationTargetRecordItem {
name: Option<String>,
target_type: SceneElement,
+2
View File
@@ -316,6 +316,8 @@ fn initialize(mut cmd: Commands) {
..default()
},
Fxaa::default(),
// FIXME: This should not be the user-visible/keyframable camera
SceneElement::Camera,
));
}