Cleanup minor formatting issues and refine validation logic across components and tests
This commit is contained in:
@@ -21015,9 +21015,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
|
||||
<input
|
||||
data-testid="player-start-targeting-look-switch"
|
||||
type="checkbox"
|
||||
checked={
|
||||
playerStartAllowLookInputTargetSwitchDraft
|
||||
}
|
||||
checked={playerStartAllowLookInputTargetSwitchDraft}
|
||||
onChange={(event) => {
|
||||
const nextValue = event.currentTarget.checked;
|
||||
setPlayerStartAllowLookInputTargetSwitchDraft(
|
||||
|
||||
@@ -969,7 +969,9 @@ function validateWorldSettings(
|
||||
}
|
||||
|
||||
if (
|
||||
!isNonNegativeFiniteNumber(advancedRendering.dynamicGlobalIllumination.radius)
|
||||
!isNonNegativeFiniteNumber(
|
||||
advancedRendering.dynamicGlobalIllumination.radius
|
||||
)
|
||||
) {
|
||||
diagnostics.push(
|
||||
createDiagnostic(
|
||||
|
||||
Reference in New Issue
Block a user