Skip to content

Commit d460059

Browse files
authored
Merge pull request #191 from LinkunGao/release/v1.13.25
Release/v1.13.25
2 parents 123bd6b + 205b1df commit d460059

File tree

6 files changed

+22
-8
lines changed

6 files changed

+22
-8
lines changed

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'LinkunGao'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = 'v1.13.24'
25+
release = 'v1.13.25'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/source/release/release.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1497,3 +1497,12 @@ const resetMainAreaSize = (factor: number) => {
14971497
};
14981498
nrrdTools.draw(scene as Copper.copperScene, gui, { getMaskData });
14991499
```
1500+
1501+
## Release v1.13.24
1502+
1503+
- update the setMaskData() in nrrd tools
1504+
1505+
## Release v1.13.25
1506+
1507+
- update nrrd_tools eraser and it's size response speed
1508+
- now it can quick response when user drag the brushAndEraserSize slider.

package-lock.json

Lines changed: 1 addition & 1 deletion
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.13.24",
4+
"version": "1.13.25",
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: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,13 +1716,18 @@ export class nrrd_tools {
17161716
.add(this.gui_states, "brushAndEraserSize")
17171717
.min(5)
17181718
.max(50)
1719-
.step(1);
1719+
.step(1)
1720+
.onChange(() => {
1721+
if (this.gui_states.Eraser) {
1722+
this.drawingCanvas.style.cursor = switchEraserSize(
1723+
this.gui_states.brushAndEraserSize
1724+
);
1725+
}
1726+
});
17201727

17211728
actionsFolder.add(this.gui_states, "Eraser").onChange((value) => {
17221729
this.gui_states.Eraser = value;
17231730
if (this.gui_states.Eraser) {
1724-
// this.drawingCanvas.style.cursor =
1725-
// "url(https://raw.githubusercontent.com/LinkunGao/copper3d_icons/main/icons/circular-cursor.png) 52 52, crosshair";
17261731
this.drawingCanvas.style.cursor = switchEraserSize(
17271732
this.gui_states.brushAndEraserSize
17281733
);

src/index.ts

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

3737
import "./css/style.css";
3838

39-
export const REVISION = "v1.13.24";
39+
export const REVISION = "v1.13.25";
4040

4141
console.log(
42-
"%cCopper3D Visualisation %cBeta:v1.13.24",
42+
"%cCopper3D Visualisation %cBeta:v1.13.25",
4343
"padding: 3px;color:white; background:#023047",
4444
"padding: 3px;color:white; background:#f50a25"
4545
);

0 commit comments

Comments
 (0)