@@ -271,18 +271,30 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
271
271
< Menu . Item >
272
272
{ ! isPlaying ? (
273
273
< Button color = "green" circular onClick = { onStart } >
274
- < Icon name = "play" style = { { marginRight : "0.5rem" } } />
274
+ < Icon
275
+ name = "play"
276
+ style = { { marginRight : "0.5rem" } }
277
+ className = "hidden-icon"
278
+ />
275
279
< span > Play</ span >
276
280
</ Button >
277
281
) : (
278
282
< Button circular onClick = { onPause } >
279
- < Icon name = "pause" style = { { marginRight : "0.5rem" } } />
283
+ < Icon
284
+ name = "pause"
285
+ style = { { marginRight : "0.5rem" } }
286
+ className = "hidden-icon"
287
+ />
280
288
< span > Pause</ span >
281
289
</ Button >
282
290
) }
283
291
{ /* Essentially just a fancy space */ }
284
292
< Button color = "red" circular onClick = { onStop } >
285
- < Icon name = "stop" style = { { marginRight : "0.5rem" } } />
293
+ < Icon
294
+ name = "stop"
295
+ style = { { marginRight : "0.5rem" } }
296
+ className = "hidden-icon"
297
+ />
286
298
< span > Stop</ span >
287
299
</ Button >
288
300
{ /* TODO: fix */ }
@@ -326,7 +338,11 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
326
338
onClick = { randomizeWalls }
327
339
disabled = { isPlaying }
328
340
>
329
- < Icon name = "table" style = { { marginRight : "0.5rem" } } />
341
+ < Icon
342
+ name = "table"
343
+ style = { { marginRight : "0.5rem" } }
344
+ className = "hidden-icon"
345
+ />
330
346
< span > Randomize Walls</ span >
331
347
</ Button >
332
348
{ /* Essentially just a fancy space */ }
@@ -336,7 +352,11 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
336
352
onClick = { onClear }
337
353
disabled = { isPlaying }
338
354
>
339
- < Icon name = "bomb" style = { { marginRight : "0.5rem" } } />
355
+ < Icon
356
+ name = "bomb"
357
+ style = { { marginRight : "0.5rem" } }
358
+ className = "hidden-icon"
359
+ />
340
360
< span > Clear Grid</ span >
341
361
</ Button >
342
362
{ /* Essentially just a fancy space */ }
@@ -347,7 +367,11 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
347
367
className = "save-modal"
348
368
trigger = {
349
369
< Button color = "blue" circular disabled = { isPlaying } >
350
- < Icon name = "save outline" style = { { marginRight : "0.5rem" } } />
370
+ < Icon
371
+ name = "save outline"
372
+ style = { { marginRight : "0.5rem" } }
373
+ className = "hidden-icon"
374
+ />
351
375
< span > Save Maze</ span >
352
376
</ Button >
353
377
}
@@ -374,7 +398,11 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
374
398
centered = { false }
375
399
trigger = {
376
400
< Button color = "blue" circular disabled = { isPlaying } >
377
- < Icon name = "upload" style = { { marginRight : "0.5rem" } } />
401
+ < Icon
402
+ name = "upload"
403
+ style = { { marginRight : "0.5rem" } }
404
+ className = "hidden-icon"
405
+ />
378
406
< span > Load Maze</ span >
379
407
</ Button >
380
408
}
@@ -536,7 +564,6 @@ class MenuBar extends React.Component<MenuProps, _MenuState> {
536
564
</ Button >
537
565
</ Dropdown . Menu >
538
566
</ Dropdown >
539
- { /* Essentially just a fancy space */ }
540
567
</ Message >
541
568
</ div >
542
569
) ;
0 commit comments