Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaMinaei committed Sep 12, 2021
1 parent b5fa729 commit eea1f42
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
},
"eslint.run": "onSave",
"eslint.lintTask.enable": true,
"eslint.lintTask.options": ". --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules"
"eslint.lintTask.options": ". --ext ts,tsx --ignore-path=.gitignore --rulesdir ./devEnv/eslint/rules",
"jest.jestCommandLine": "yarn jest"
}
6 changes: 5 additions & 1 deletion packages/playground/src/space-exploration/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ function App() {
const [bgIndex, setBgIndex] = useState(0)
const bg = bgs[bgIndex]
return (
<div onClick={() => setBgIndex((bgIndex) => (bgIndex + 1) % bgs.length)}>
<div
onClick={() => {
// return setBgIndex((bgIndex) => (bgIndex + 1) % bgs.length)
}}
>
<Canvas dpr={[1.5, 2]} linear shadows frameloop="demand">
<SheetProvider getSheet={() => getProject('Space').sheet('Scene')}>
<fog attach="fog" args={[bg, 16, 30]} />
Expand Down
1 change: 1 addition & 0 deletions theatre/studio/src/UIRoot/UIRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const Container = styled(PointerEventsHandler)`
&.invisible {
pointer-events: none !important;
opacity: 0;
transform: translateX(1000000px);
}
`

Expand Down
1 change: 1 addition & 0 deletions theatre/studio/src/panels/BasePanel/PaneWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ const ClosePanelButton = styled.button`
*/
const F2 = styled(F2Impl)`
position: relative;
overflow: hidden;
&:after {
z-index: 10;
Expand Down

0 comments on commit eea1f42

Please sign in to comment.