feat: 일시정지 버튼을 눌렀을 때 별의 움직임이 함께 멈춤
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import { FlightStarfieldCanvas } from '@/features/flight-starfield';
|
||||
|
||||
export function FlightBackgroundWidget() {
|
||||
return <FlightStarfieldCanvas vanishYOffset={-68} centerProtectRadius={200} />;
|
||||
export function FlightBackgroundWidget({ isPaused }: { isPaused: boolean }) {
|
||||
return (
|
||||
<FlightStarfieldCanvas
|
||||
vanishYOffset={-68}
|
||||
centerProtectRadius={200}
|
||||
isPaused={isPaused}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user