Skip to content

Commit

Permalink
Merge pull request #44 from Kitware/ui-improvements
Browse files Browse the repository at this point in the history
Ui improvements
  • Loading branch information
scottwittenburg committed Nov 1, 2017
2 parents 3b35a9b + d02bede commit f0a76b3
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 20 deletions.
36 changes: 18 additions & 18 deletions dist/Visualizer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -27,7 +27,7 @@
"reselect": "2.5.3",
"kw-web-suite": "2.2.1",
"kw-doc": "1.0.15",
"paraviewweb": "2.5.10",
"paraviewweb": "2.5.13",
"vtk.js": "5.3.0",
"wslink": "0.1.3"
},
Expand Down
2 changes: 2 additions & 0 deletions src/panels/ControlPanel/PipelineBrowser/index.js
Expand Up @@ -33,6 +33,7 @@ export const PipelineBrowser = React.createClass({
lutRange: React.PropTypes.object,
playing: React.PropTypes.bool,
opacityPoints: React.PropTypes.array,
gaussians: React.PropTypes.array,

// actions:
deleteProxy: React.PropTypes.func,
Expand Down Expand Up @@ -161,6 +162,7 @@ export const PipelineBrowser = React.createClass({
opacityEditorSize={[250, 90]}
hidePointControl
useGaussian
gaussians={this.props.gaussians}
/>
</ProxyEditorWidget>
</div>)
Expand Down
2 changes: 1 addition & 1 deletion src/redux/ducks/colors.js
Expand Up @@ -274,7 +274,7 @@ export function applyOpacityPoints(arrayName, points) {
const netRequest = externalActions.network.createRequest('Apply piecewise opacity function');
network.getClient()
.ColorManager
.setOpacityFunctionPoints(arrayName, points)
.setOpacityFunctionPoints(arrayName, points, true)
.then(
(nothing) => {
dispatch(externalActions.network.success(netRequest.id));
Expand Down
4 changes: 4 additions & 0 deletions style/MainView.mcss
Expand Up @@ -199,3 +199,7 @@
animation-delay: 0.2s;
fill: #aaaaaa;
}

input:focus {
outline-color: rgb(29, 147, 249);
}

0 comments on commit f0a76b3

Please sign in to comment.