diff --git a/src/AppLayout/index.tsx b/src/AppLayout/index.tsx index fe2a3e5..bce9d1c 100644 --- a/src/AppLayout/index.tsx +++ b/src/AppLayout/index.tsx @@ -35,6 +35,7 @@ import { ToolbarItem, Text, TextVariants, + Checkbox, } from "@patternfly/react-core"; import BarsIcon from "@patternfly/react-icons/dist/esm/icons/bars-icon"; import { Table, Tr, Tbody, Td } from "@patternfly/react-table"; @@ -203,6 +204,13 @@ const MyPage = ({ changeCalMax(value); }; + const onHighResCheckboxToggled = (_e: any, checked: boolean) => { + const nextState = produce(visualState, (draft) => { + draft.highResolutionCapable = checked; + }); + onVisualStateChange(nextState); + }; + const changeCalMin = (value: number) => { const nextState = produce(visualState, (draft) => { draft.globalMeshOverlaySettings.cal_min = value; @@ -287,6 +295,8 @@ const MyPage = ({ ); + const smallSkip =
; + const sidebar = ( @@ -349,7 +359,17 @@ const MyPage = ({ value={visualState.globalMeshOverlaySettings.cal_max} > -
+ {smallSkip} + + + + {smallSkip} +