diff --git a/web/app/brep/debug/debugger/brepDebugger.less b/web/app/brep/debug/debugger/brepDebugger.less index 02b26981..b6d4b5db 100644 --- a/web/app/brep/debug/debugger/brepDebugger.less +++ b/web/app/brep/debug/debugger/brepDebugger.less @@ -16,13 +16,18 @@ } & .section { - & .caption { - &.closable { - cursor: pointer; + + &.closable > .caption { + cursor: pointer; + & .title { &:hover { - color: blue; + color: blue; + text-decoration: underline; } } + } + + & .caption { &.accent { background-color: rgb(255, 244, 244); font-weight: bold; diff --git a/web/app/brep/debug/debugger/section.jsx b/web/app/brep/debug/debugger/section.jsx index beb5619b..5eb808b0 100644 --- a/web/app/brep/debug/debugger/section.jsx +++ b/web/app/brep/debug/debugger/section.jsx @@ -12,12 +12,14 @@ export default class Section extends React.PureComponent { } render() { - let {name, tabs, closable, defaultClosed, accent, children, captionStyles} = this.props; + let {name, tabs, closable, defaultClosed, accent, children, captionStyles, controls} = this.props; let closed = closable && (this.state.closed || defaultClosed); return
- {closable && } {name}
- {children} + {closable && } {name} + {controls} +
+ {children} ; } } diff --git a/web/app/brep/debug/debugger/shellExplorer.jsx b/web/app/brep/debug/debugger/shellExplorer.jsx index 0e8888d9..95458ede 100644 --- a/web/app/brep/debug/debugger/shellExplorer.jsx +++ b/web/app/brep/debug/debugger/shellExplorer.jsx @@ -1,18 +1,26 @@ import React from 'react'; +import Section from "./section"; export default class ShellExplorer extends React.PureComponent { render() { let {shell} = this.props; + + let faceControls = + + + ; + return
-
faces
- {shell.faces.map(face =>
-
face {face.refId}
- {mapIterator(face.edges, e =>
- edge: {e.refId} -
)} -
) - } + +
+ {shell.faces.map(face =>
+ {mapIterator(face.edges, e =>
+ edge: {e.refId} +
)} +
) + } +
; } }