## Description QA branch for mobile responsiveness --------- Co-authored-by: Aswath K <aswath@appsmith.com> Co-authored-by: Arsalan Yaldram <arsalanyaldram0211@outlook.com> Co-authored-by: Aswath K <aswath.sana@gmail.com> Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com> Co-authored-by: rahulramesha <rahul@appsmith.com>
16 lines
566 B
TypeScript
16 lines
566 B
TypeScript
import { AppPositioningTypes } from "reducers/entityReducers/pageListReducer";
|
|
import { createSelector } from "reselect";
|
|
import { getCurrentAppPositioningType } from "./editorSelectors";
|
|
import type { AppState } from "@appsmith/reducers";
|
|
|
|
export const getIsDraggingForSelection = (state: AppState) => {
|
|
return state.ui.canvasSelection.isDraggingForSelection;
|
|
};
|
|
|
|
export const getIsAutoLayout = createSelector(
|
|
getCurrentAppPositioningType,
|
|
(appPositionType: AppPositioningTypes): boolean => {
|
|
return appPositionType === AppPositioningTypes.AUTO;
|
|
},
|
|
);
|