Add option for instant transitions in lightbox (#6354)

This commit is contained in:
hckrman101
2025-12-01 22:25:46 -05:00
committed by GitHub
parent 5f16547e58
commit 69fd073d5d
8 changed files with 40 additions and 1 deletions

View File

@@ -493,6 +493,8 @@ func (r *mutationResolver) ConfigureInterface(ctx context.Context, input ConfigI
r.setConfigString(config.ImageLightboxScrollModeKey, (*string)(options.ScrollMode))
r.setConfigInt(config.ImageLightboxScrollAttemptsBeforeChange, options.ScrollAttemptsBeforeChange)
r.setConfigBool(config.ImageLightboxDisableAnimation, options.DisableAnimation)
}
if input.CSS != nil {