Skip to content

Commit a1e4db5

Browse files
authored
Merge pull request #312 from LinkunGao/chore/v2.2.2
Chore/v2.2.2
2 parents 03f5b4b + cc0d5c9 commit a1e4db5

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "copper3d",
33
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
4-
"version": "2.2.1",
4+
"version": "2.2.2",
55
"main": "dist/bundle.umd.js",
66
"moudle": "dist/bundle.esm.js",
77
"types": "dist/types/index.d.ts",

src/Utils/segmentation/CommToolsData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class CommToolsData {
5353
nippleColor:"#E91E63",
5454

5555
spherePlanB: true,
56-
sphereRadius: 10,
56+
sphereRadius: 5,
5757
Mouse_Over_x: 0,
5858
Mouse_Over_y: 0,
5959
Mouse_Over: false,

src/Utils/segmentation/DrawToolCore.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,6 @@ export class DrawToolCore extends CommToolsData {
457457

458458
const sphere = (e:MouseEvent)=>{
459459
// set sphere size
460-
this.nrrd_states.sphereRadius = 10
461460

462461
this.protectedData.canvases.drawingCanvas.removeEventListener(
463462
"wheel",
@@ -1287,7 +1286,6 @@ export class DrawToolCore extends CommToolsData {
12871286
console.log("current changed width:", this.nrrd_states.changedWidth, this.nrrd_states.changedHeight);
12881287

12891288

1290-
12911289
this.protectedData.ctxes.drawingLayerMasterCtx.drawImage(
12921290
canvas as HTMLCanvasElement,
12931291
0,

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ import { IPaintImage, ICommXYZ, IGUIStates, IGuiParameterSettings, INrrdStates}
4444

4545
import "./css/style.css";
4646

47-
export const REVISION = "v2.2.1";
47+
export const REVISION = "v2.2.2";
4848

4949
console.log(
50-
"%cCopper3D Visualisation %cBeta:v2.2.1",
50+
"%cCopper3D Visualisation %cBeta:v2.2.2",
5151
"padding: 3px;color:white; background:#023047",
5252
"padding: 3px;color:white; background:#f50a25"
5353
);

0 commit comments

Comments
 (0)