Skip to content

Commit 1d7745f

Browse files
committed
add lasso and selectbox icon
1 parent b5c090f commit 1d7745f

File tree

7 files changed

+27
-3
lines changed

7 files changed

+27
-3
lines changed

src/components/modebar/buttons.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ modeBarButtons.select2d = {
126126
title: 'Box Select',
127127
attr: 'dragmode',
128128
val: 'select',
129-
icon: Icons.question, // TODO
129+
icon: Icons.selectbox,
130130
click: handleCartesian
131131
};
132132

@@ -135,7 +135,7 @@ modeBarButtons.lasso2d = {
135135
title: 'Lasso Select',
136136
attr: 'dragmode',
137137
val: 'lasso',
138-
icon: Icons.question, // TODO
138+
icon: Icons.lasso,
139139
click: handleCartesian
140140
};
141141

src/fonts/ploticon/_ploticon.scss

+2
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@
4141
.ploticon-movie:before { content: '\e80e'; } /* '' */
4242
.ploticon-question:before { content: '\e80f'; } /* '' */
4343
.ploticon-disk:before { content: '\e810'; } /* '' */
44+
.ploticon-lasso:before { content: '\e811'; } /* '' */
45+
.ploticon-selectbox:before { content: '\e812'; } /* '' */

src/fonts/ploticon/config.json

+20
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,26 @@
14621462
"movie"
14631463
]
14641464
},
1465+
{
1466+
"uid": "11aaeff1fa846b5a34638dbb78619c59",
1467+
"css": "lasso",
1468+
"code": 59409,
1469+
"src": "custom_icons",
1470+
"selected": true,
1471+
"svg": {
1472+
"path": "M1018.2 311.9C981.8 105 727.8-23.6 450.2 25.7 172.6 74-22.5 281.9 13.9 488.7 23.6 545.6 50.4 597 90 639.9 77.2 706.3 100.8 777.1 157.6 823.2 191.9 851 232.6 863.9 272.2 865L216.5 934.6 216.5 934.6C215.4 935.7 214.4 936.8 213.3 937.8 202.6 951.8 204.7 972.1 217.6 982.9 231.5 993.6 251.9 991.4 262.6 978.6 263.7 977.5 264.7 976.4 264.7 974.3L264.7 974.3 378.3 833.9C394.4 823.2 409.4 810.3 423.4 794.2 426.6 791 428.7 786.7 430.9 783.5 479.1 785.6 530.5 783.5 582 773.8 859.6 725.6 1054.7 518.8 1018.2 311.9ZM394.4 691.3C314 677.4 245.4 643.1 197.2 594.9 239 553.1 305.5 547.7 352.6 586.3 385.9 612 399.8 651.7 394.4 691.3ZM206.9 765.3C187.6 749.2 173.6 727.8 168.3 705.3 217.6 737.4 276.5 759.9 341.9 772.8 300.1 798.5 246.5 797.4 206.9 765.3ZM567 690.2C532.7 696.7 498.4 698.8 465.2 697.7 472.7 635.6 449.1 570.2 396.6 528.4 323.7 469.5 221.9 473.7 153.3 532.7 143.6 513.4 137.2 493 132.9 471.6 105 313 254 155.4 466.2 117.9S872.5 177.9 900.3 335.5C928.2 494.1 779.2 652.7 567 690.2Z",
1473+
"width": 1031
1474+
},
1475+
"search": [
1476+
"lasso"
1477+
]
1478+
},
1479+
{
1480+
"uid": "8ce732688587909ad0a9d8323eaca8ad",
1481+
"css": "selectbox",
1482+
"code": 59410,
1483+
"src": "fontelico"
1484+
},
14651485
{
14661486
"uid": "9d3d9d6ce1ec63eaa26281e6162853c9",
14671487
"css": "camera-retro",

src/fonts/ploticon/ploticon.eot

456 Bytes
Binary file not shown.

src/fonts/ploticon/ploticon.svg

+3-1
Loading

src/fonts/ploticon/ploticon.ttf

456 Bytes
Binary file not shown.

src/fonts/ploticon/ploticon.woff

320 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)