Skip to content

Commit dac1f98

Browse files
fix: added missing tool in listener (#350)
* fix: added missing tool in listener * Update docs --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d902bbc commit dac1f98

File tree

9 files changed

+12
-11
lines changed

9 files changed

+12
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
## Dicom Image Toolkit for CornerstoneJS
1010

11-
### Current version: 28
11+
### Current version: 2.4.29
1212

13-
### Latest Published Release: 2.4.28
13+
### Latest Published Release: 2.4.29
1414

1515
This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.
1616

dist/imaging/tools/segmentation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export declare function clearSegmentationState(): void;
9696
* Anyway, the activated tool name is returned
9797
* @param {Object} options - An object containing configuration values (eg radius, thresholds, etc...)
9898
*/
99-
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "Brush" | "ThresholdsBrush";
99+
export declare function enableBrushTool(viewports: string[], options: BrushProperties): "ThresholdsBrush" | "Brush";
100100
/**
101101
* Disable brushing
102102
* This function disables both brush tools, if found active on `viewports`

dist/larvitar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/larvitar.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/documentation/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ <h3> </h3>
7474
<h1 id="larvitar">Larvitar</h1>
7575
<p><a href="https://github.com/dvisionlab/Larvitar"><img src="https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&amp;prefix=%E2%89%A5&amp;suffix=%25&amp;query=$.typeCoverage.atLeast&amp;uri=https%3A%2F%2Fraw.githubusercontent.com%2Fplantain-00%2Ftype-coverage%2Fmaster%2Fpackage.json" alt="type-coverage"></a></p>
7676
<h2 id="dicom-image-toolkit-for-cornerstonejs">Dicom Image Toolkit for CornerstoneJS</h2>
77-
<h3 id="current-version%3A-28">Current version: 28</h3>
78-
<h3 id="latest-published-release%3A-2.4.28">Latest Published Release: 2.4.28</h3>
77+
<h3 id="current-version%3A-2.4.29">Current version: 2.4.29</h3>
78+
<h3 id="latest-published-release%3A-2.4.29">Latest Published Release: 2.4.29</h3>
7979
<p>This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.</p>
8080
<h2 id="features%3A">Features:</h2>
8181
<ul>

docs/examples/larvitar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
>Github
5959
</a>
6060

61-
<a
61+
<!-- <a
6262
class="btn btn-outline-success btn-lg"
6363
href="./documentation/index.html"
6464
role="button"
6565
>Docs
66-
</a>
66+
</a> -->
6767

6868
<a
6969
class="btn btn-outline-success btn-lg"

imaging/imageRendering.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,7 @@ export const updateViewportData = function (
839839
if (isValidTool === true) {
840840
switch (activeTool) {
841841
case "WwwcRegion":
842+
case "WwwcRemoveRegion":
842843
case "Wwwc":
843844
case "Wwwl":
844845
if (viewportData.voi) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"medical",
77
"cornerstone"
88
],
9-
"version": "2.4.28",
9+
"version": "2.4.29",
1010
"description": "typescript library for parsing, loading, rendering and interacting with DICOM images",
1111
"repository": {
1212
"url": "https://github.com/dvisionlab/Larvitar.git",

0 commit comments

Comments
 (0)