Skip to content

Commit

Permalink
fix(API): Visibilty -> Visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Feb 6, 2018
1 parent f603b20 commit caa66a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ItkVtkViewProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function ItkVtkViewProxy(publicAPI, model) {
}
};

publicAPI.setOrientationAnnotationVisibilty = (visible) => {
publicAPI.setOrientationAnnotationVisibility = (visible) => {
if (visible) {
if (model.volumeRepresentation) {
publicAPI.setAnnotationOpacity(1.0);
Expand Down
2 changes: 1 addition & 1 deletion src/userInterface/createMainUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function createMainUI(
let annotationEnabled = true;
function toggleAnnotation() {
annotationEnabled = !annotationEnabled;
view.setOrientationAnnotationVisibilty(annotationEnabled);
view.setOrientationAnnotationVisibility(annotationEnabled);
}
const annotationButton = document.createElement('div');
annotationButton.innerHTML = `<input id="toggleAnnotation" type="checkbox" class="${
Expand Down

0 comments on commit caa66a9

Please sign in to comment.