|
352 | 352 | :type :checkbox
|
353 | 353 | :icon "tree"
|
354 | 354 | :label "Element tree"
|
355 |
| - :checked? [:panel/visible? :tree] |
356 |
| - :action [:panel/toggle :tree]} |
| 355 | + :checked? [:panel-visible? :tree] |
| 356 | + :action [:toggle-panel :tree]} |
357 | 357 | {:key :toggle-props
|
358 | 358 | :type :checkbox
|
359 | 359 | :icon "properties"
|
360 | 360 | :label "Properties"
|
361 |
| - :checked? [:panel/visible? :properties] |
362 |
| - :action [:panel/toggle :properties]} |
| 361 | + :checked? [:panel-visible? :properties] |
| 362 | + :action [:toggle-panel :properties]} |
363 | 363 | {:key :toggle-xml
|
364 | 364 | :label "XML view"
|
365 | 365 | :type :checkbox
|
366 | 366 | :icon "code"
|
367 |
| - :checked? [:panel/visible? :xml] |
368 |
| - :action [:panel/toggle :xml]} |
| 367 | + :checked? [:panel-visible? :xml] |
| 368 | + :action [:toggle-panel :xml]} |
369 | 369 | {:key :toggle-history
|
370 | 370 | :label "History tree"
|
371 | 371 | :icon "history"
|
372 | 372 | :type :checkbox
|
373 |
| - :checked? [:panel/visible? :history] |
374 |
| - :action [:panel/toggle :history]} |
| 373 | + :checked? [:panel-visible? :history] |
| 374 | + :action [:toggle-panel :history]} |
375 | 375 | {:key :toggle-command-history
|
376 | 376 | :type :checkbox
|
377 | 377 | :label "Shell history"
|
378 | 378 | :icon "shell"
|
379 |
| - :checked? [:panel/visible? :repl-history] |
380 |
| - :action [:panel/toggle :repl-history]} |
| 379 | + :checked? [:panel-visible? :repl-history] |
| 380 | + :action [:toggle-panel :repl-history]} |
381 | 381 | {:key :toggle-timeline-panel
|
382 | 382 | :type :checkbox
|
383 | 383 | :label "Timeline editor"
|
384 | 384 | :icon "timeline"
|
385 |
| - :checked? [:panel/visible? :timeline] |
386 |
| - :action [:panel/toggle :timeline]} |
| 385 | + :checked? [:panel-visible? :timeline] |
| 386 | + :action [:toggle-panel :timeline]} |
387 | 387 | {:key :divider-2
|
388 | 388 | :type :separator}])
|
389 | 389 |
|
|
406 | 406 | :type :checkbox
|
407 | 407 | :label "Grid"
|
408 | 408 | :icon "grid"
|
409 |
| - :checked? [:grid?] |
| 409 | + :checked? [:grid-visible?] |
410 | 410 | :action [:toggle-grid]}
|
411 | 411 | {:key :toggle-rulers
|
412 | 412 | :type :checkbox
|
413 | 413 | :label "Rulers"
|
414 | 414 | :icon "ruler-combined"
|
415 |
| - :checked? [:rulers?] |
| 415 | + :checked? [:rulers-visible?] |
416 | 416 | :action [:toggle-rulers]}
|
417 | 417 | {:key :toggle-debug-info
|
418 | 418 | :type :checkbox
|
|
0 commit comments