comment consistent with conventions

This commit is contained in:
Jibran Absarulislam 2023-06-16 14:49:53 -04:00
parent 2de2975ed8
commit 5e7ea2fa04

View file

@ -114,8 +114,8 @@ export const {
setIsCapturingScreenshot,
} = rendererSlice.actions;
// Use different zoom factor based on state's current layout
export const selectZoomFactor = (state: RootState) => {
// depending on the layout, we want to use a different zoom factor
if (state.renderer.layout === PREVIEW_LAYOUTS.INDIVIDUAL) {
return state.renderer.individualZoomFactor;
}