Skip to content

v2.0.4 #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion examples/worlds/Lost.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { LostWorld, StandardReality } from "spacesvr";

export default function Lost() {
return (
<StandardReality>
<StandardReality
environmentProps={{ dev: process.env.NODE_ENV === "development" }}
>
<LostWorld />
</StandardReality>
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spacesvr",
"version": "2.0.3",
"version": "2.0.4",
"private": true,
"description": "A standardized reality for future of the 3D Web",
"keywords": [
Expand Down
20 changes: 12 additions & 8 deletions src/layers/Environment/ui/Crosshair.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,22 @@ const Element = styled.div`

&::before {
content: "";
display: block;
height: 11px;
border-left: 1px solid #fff;
margin-bottom: -6px;
position: absolute;
height: 16px;
width: 1.5px;
transform: translate(-50%, -50%);
border-radius: 6px;
background: #ffffff;
}

&::after {
content: "";
display: block;
width: 11px;
border-top: 1px solid #fff;
margin-left: -5px;
position: absolute;
width: 16px;
height: 1.5px;
transform: translate(-50%, -50%);
border-radius: 6px;
background: #ffffff;
}
`;

Expand Down
2 changes: 1 addition & 1 deletion src/layers/Environment/ui/PauseMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function PauseMenu(props: PauseMenuProps) {
const PAUSE_ITEMS: PauseItem[] = [
...pauseMenuItems,
{
text: "v2.0.3",
text: "v2.0.4",
link: "https://www.npmjs.com/package/spacesvr",
},
...menuItems,
Expand Down