@@ -17,24 +17,51 @@ import {
1717 faMask ,
1818} from "@fortawesome/free-solid-svg-icons"
1919
20+ const faStyle = { marginTop : 4 , width : 16 , height : 16 , marginBottom : 4 }
21+
2022export const iconDictionary = {
21- select : ( ) => < FontAwesomeIcon size = "xs" fixedWidth icon = { faMousePointer } /> ,
22- pan : ( ) => < FontAwesomeIcon size = "xs" fixedWidth icon = { faHandPaper } /> ,
23- zoom : ( ) => < FontAwesomeIcon size = "xs" fixedWidth icon = { faSearch } /> ,
24- "show-tags" : ( ) => < FontAwesomeIcon size = "xs" fixedWidth icon = { faTag } /> ,
23+ select : ( ) => (
24+ < FontAwesomeIcon
25+ style = { faStyle }
26+ size = "xs"
27+ fixedWidth
28+ icon = { faMousePointer }
29+ />
30+ ) ,
31+ pan : ( ) => (
32+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faHandPaper } />
33+ ) ,
34+ zoom : ( ) => (
35+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faSearch } />
36+ ) ,
37+ "show-tags" : ( ) => (
38+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faTag } />
39+ ) ,
2540 "create-point" : ( ) => (
26- < FontAwesomeIcon size = "xs" fixedWidth icon = { faCrosshairs } />
41+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faCrosshairs } />
2742 ) ,
2843 "create-box" : ( ) => (
29- < FontAwesomeIcon size = "xs" fixedWidth icon = { faVectorSquare } />
44+ < FontAwesomeIcon
45+ style = { faStyle }
46+ size = "xs"
47+ fixedWidth
48+ icon = { faVectorSquare }
49+ />
3050 ) ,
3151 "create-polygon" : ( ) => (
32- < FontAwesomeIcon size = "xs" fixedWidth icon = { faDrawPolygon } />
52+ < FontAwesomeIcon
53+ style = { faStyle }
54+ size = "xs"
55+ fixedWidth
56+ icon = { faDrawPolygon }
57+ />
3358 ) ,
3459 "create-expanding-line" : ( ) => (
35- < FontAwesomeIcon size = "xs" fixedWidth icon = { faGripLines } />
60+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faGripLines } />
61+ ) ,
62+ "show-mask" : ( ) => (
63+ < FontAwesomeIcon style = { faStyle } size = "xs" fixedWidth icon = { faMask } />
3664 ) ,
37- "show-mask" : ( ) => < FontAwesomeIcon size = "xs" fixedWidth icon = { faMask } /> ,
3865}
3966
4067export default iconDictionary
0 commit comments