Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yhattav committed Dec 6, 2024
1 parent 9056454 commit 77cae0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/GravitySimulator/GravitySimulator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ export const GravitySimulator: React.FC<GravitySimulatorProps> = ({
setIsColorInverted((prev) => !prev);
}}
className="floating-panel floating-button"
whileHover={{ scale: 2.05 }}
whileHover={{ scale: 1.05 }}
whileTap={{ scale: 0.95 }}
title="Invert Colors"
>
Expand Down
4 changes: 2 additions & 2 deletions src/scenarios/defaults/pulsar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const pulsar: Scenario = {
particles: [
{
id: "pulsar1",
position: { x: 520, y: 400 },
position: { x: 220, y: 200 },
velocity: { x: 0, y: 80 },
mass: 1,
outgoingForceRatio: 600000000, // Will exert force as if mass was 30000
Expand All @@ -34,7 +34,7 @@ export const pulsar: Scenario = {
},
{
id: "pulsar2",
position: { x: 500, y: 400 },
position: { x: 200, y: 200 },
velocity: { x: 0, y: -80 },
mass: 1,
outgoingForceRatio: 600000000, // Will exert force as if mass was 30000
Expand Down

0 comments on commit 77cae0a

Please sign in to comment.