Skip to content

Commit 78703ac

Browse files
committed
removed axlegend files and reducer
1 parent bac5f56 commit 78703ac

File tree

4 files changed

+2
-22
lines changed

4 files changed

+2
-22
lines changed

src/app/components/StateRoute/AxMap/Ax.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export default function AxTree(props) {
275275
}
276276
}
277277
} else {
278-
aspect = Math.max(aspect, 0.2);
278+
aspect = Math.max(aspect, 0.5);
279279
}
280280
const handleMouseAndClickOver = (event): void => {
281281
const coords = localPoint(event.target.ownerSVGElement, event);

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export default function ComponentMap({
457457
}
458458
}
459459
} else {
460-
aspect = Math.max(aspect, 0.8);
460+
aspect = Math.max(aspect, 1);
461461
}
462462

463463
// mousing controls & Tooltip display logic

src/app/slices/AxSlices/axLegendSlice.tsx

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/app/store.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
//Import store from redux tool kit
22
import { configureStore } from '@reduxjs/toolkit';
33
import { mainSlice } from './slices/mainSlice';
4-
import { axLegendSlice } from './slices/AxSlices/axLegendSlice';
54

65
//Export Store
76
export const store = configureStore({
87
reducer: {
98
main: mainSlice.reducer,
10-
axLegend: axLegendSlice.reducer,
119
},
1210
middleware: (getDefaultMiddleware) => getDefaultMiddleware({ serializableCheck: false }),
1311
});

0 commit comments

Comments
 (0)