Skip to content

Commit

Permalink
fix mark color
Browse files Browse the repository at this point in the history
  • Loading branch information
DreaJulca committed Apr 25, 2022
1 parent 8602b88 commit acc3ec9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ if(urlRoom != 'test'){
) : (
<Dictaphone grimoire={[...primitives, ...grimoire]}/>
)}
<video width="768" height="452" controls>
<source src="./WizDemoSequence.mp4" type="video/mp4"></source>
</video>
</div>
</DispatchContext.Provider>
);
Expand Down
2 changes: 1 addition & 1 deletion src/SpellCasting/Interpreter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ function Interpreter(props:any) {//:any
yVariableName={axisCount > 1 ? 'petalLength' : null}
zVariableName={axisCount > 2 ? 'sepalWidth' : null}
markType={markType}
color={markColorVar} /> : null }
colorVar={markColorVar} /> : null }
{/* Z */}
{axisCount > 2 ? <Axis
position={[0, 0, 0.25]}
Expand Down
2 changes: 1 addition & 1 deletion src/SpellCasting/OptomanticElements/PlotArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const PlotArea = (props:any) => {
<sphereGeometry attach="geometry" args={[0.01, 8, 8]} />
<meshStandardMaterial
attach="material"
color={props.color ? new THREE.Color(props.scales.color(props.color)) : "white"}
color={props.colorVar ? new THREE.Color(props.scales.color(el[props.colorVar])) : "white"}
roughness={0.1}
metalness={0.1}
/>
Expand Down

0 comments on commit acc3ec9

Please sign in to comment.