Skip to content

Commit 1984aec

Browse files
authored
Merge pull request #143 from LinkunGao/release/v1.12.19
Release/v1.12.19
2 parents 83ad5ea + 01659e5 commit 1984aec

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

docs/source/release/release.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,3 +1156,7 @@ const resetMainAreaSize = (factor: number) => {
11561156
## Release v1.12.18
11571157

11581158
- Add cursor dot in nrrd_tools GUI.
1159+
1160+
## Release v1.12.19
1161+
1162+
- set default cursor to dot in nrrd_tools.

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_visualisation",
33
"description": "A 3d visualisation package base on threejs provides multiple scenes and Nrrd image load funtion.",
4-
"version": "1.12.18",
4+
"version": "1.12.19",
55
"main": "dist/bundle.umd.js",
66
"moudle": "dist/bundle.esm.js",
77
"types": "dist/types/index.d.ts",

src/Utils/nrrd_tool.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,10 @@ export class nrrd_tools {
8282
Mouse_Over: false,
8383
stepClear: 1,
8484
sizeFoctor: 1,
85+
// defaultPaintCursor:
86+
// "url(https://raw.githubusercontent.com/LinkunGao/copper3d_icons/main/icons/pencil-black.svg), auto",
8587
defaultPaintCursor:
86-
"url(https://raw.githubusercontent.com/LinkunGao/copper3d_icons/main/icons/pencil-black.svg), auto",
87-
88+
"url(https://raw.githubusercontent.com/LinkunGao/copper3d-datasets/main/icons/dot.svg) 12 12,auto",
8889
drawStartPos: new THREE.Vector2(1, 1),
8990
};
9091

@@ -120,7 +121,7 @@ export class nrrd_tools {
120121
fillColor: "#3fac58",
121122
brushColor: "#3fac58",
122123
brushAndEraserSize: 15,
123-
cursor: "pencil",
124+
cursor: "dot",
124125
// EraserSize: 25,
125126
clear: () => {
126127
// const text = "Are you sure remove annotations on Current slice?";
@@ -372,6 +373,7 @@ export class nrrd_tools {
372373

373374
this.axis = axis;
374375
this.resetDisplaySlicesStatus();
376+
console.log(this.mainPreSlice);
375377
}
376378

377379
addSkip(index: number) {

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ import {
3333

3434
import "./css/style.css";
3535

36-
export const REVISION = "v1.12.18";
36+
export const REVISION = "v1.12.19";
3737

3838
console.log(
39-
"%cCopper3D Visualisation %cBeta:v1.12.18",
39+
"%cCopper3D Visualisation %cBeta:v1.12.19",
4040
"padding: 3px;color:white; background:#023047",
4141
"padding: 3px;color:white; background:#f50a25"
4242
);

0 commit comments

Comments
 (0)