yangdx commited on
Commit
0310951
·
1 Parent(s): 6f21f6c

Switch rotation bottun posstion

Browse files
lightrag_webui/src/components/graph/ZoomControl.tsx CHANGED
@@ -74,19 +74,19 @@ const ZoomControl = () => {
74
  <>
75
  <Button
76
  variant={controlButtonVariant}
77
- onClick={handleRotateCounterClockwise}
78
- tooltip={t('graphPanel.sideBar.zoomControl.rotateCameraCounterClockwise')}
79
  size="icon"
80
  >
81
- <RotateCcwIcon />
82
  </Button>
83
  <Button
84
  variant={controlButtonVariant}
85
- onClick={handleRotate}
86
- tooltip={t('graphPanel.sideBar.zoomControl.rotateCamera')}
87
  size="icon"
88
  >
89
- <RotateCwIcon />
90
  </Button>
91
  <Button
92
  variant={controlButtonVariant}
 
74
  <>
75
  <Button
76
  variant={controlButtonVariant}
77
+ onClick={handleRotate}
78
+ tooltip={t('graphPanel.sideBar.zoomControl.rotateCamera')}
79
  size="icon"
80
  >
81
+ <RotateCwIcon />
82
  </Button>
83
  <Button
84
  variant={controlButtonVariant}
85
+ onClick={handleRotateCounterClockwise}
86
+ tooltip={t('graphPanel.sideBar.zoomControl.rotateCameraCounterClockwise')}
87
  size="icon"
88
  >
89
+ <RotateCcwIcon />
90
  </Button>
91
  <Button
92
  variant={controlButtonVariant}