@@ -30,6 +30,7 @@ import RegionSelector from "../RegionSelectorSidebarBox"
3030import ImageSelector from "../ImageSelectorSidebarBox"
3131import HistorySidebarBox from "../HistorySidebarBox"
3232
33+ const emptyArr = [ ]
3334const useStyles = makeStyles ( styles )
3435
3536const HotkeyDiv = withHotKeys ( ( { hotKeys, children, divRef, ...props } ) => (
@@ -196,39 +197,40 @@ export const MainLayout = ({
196197 iconSidebarItems = { [
197198 {
198199 name : "select" ,
199- toolTip : "Select" ,
200+ helperText : "Select" ,
201+ selected : true ,
200202 } ,
201203 {
202204 name : "pan" ,
203- toolTip : "Drag/Pan" ,
205+ helperText : "Drag/Pan" ,
204206 } ,
205207 {
206208 name : "zoom" ,
207- toolTip : "Zoom In/Out" ,
209+ helperText : "Zoom In/Out" ,
208210 } ,
209211 {
210212 name : "show-tags" ,
211- toolTip : "Show / Hide Tags" ,
213+ helperText : "Show / Hide Tags" ,
212214 } ,
213215 {
214216 name : "create-point" ,
215- toolTip : "Add Point" ,
217+ helperText : "Add Point" ,
216218 } ,
217219 {
218220 name : "create-box" ,
219- toolTip : "Add Bounding Box" ,
221+ helperText : "Add Bounding Box" ,
220222 } ,
221223 {
222224 name : "create-polygon" ,
223- toolTip : "Add Polygon" ,
225+ helperText : "Add Polygon" ,
224226 } ,
225227 {
226228 name : "create-expanding-line" ,
227- toolTip : "Add Expanding Line" ,
229+ helperText : "Add Expanding Line" ,
228230 } ,
229231 {
230232 name : "show-mask" ,
231- toolTip : "Show / Hide Mask" ,
233+ helperText : "Show / Hide Mask" ,
232234 } ,
233235 ] }
234236 rightSidebarItems = { [
0 commit comments