Skip to content

Commit

Permalink
fixed cursor icon issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkunGao committed Nov 5, 2023
1 parent ac0eb7d commit 095f5a9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# The full version, including alpha/beta/rc tags

release = 'v2.0.1'
release = 'v2.0.2'



Expand Down
4 changes: 4 additions & 0 deletions docs/source/release/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -1929,3 +1929,7 @@ Huge update:
- apidocs
- segmentation functions
- bug fix

## Release v2.0.2

Fixed cursor not switch issue when user click eraser and pencil buttons.
1 change: 1 addition & 0 deletions src/Utils/segmentation/coreTools/gui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ function setupGui(configs: IConfigGUI) {
configs.drawingPrameters.handleOnDrawingBrushCricleMove
);
}
configs.drawingCanvas.style.cursor = configs.gui_states.defaultPaintCursor;
};

const updateGuiEraserState = () => {
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ import { IPaintImage } from "./Utils/segmentation/coreTools/coreType";

import "./css/style.css";

export const REVISION = "v2.0.1";
export const REVISION = "v2.0.2";

console.log(
"%cCopper3D Visualisation %cBeta:v2.0.1",
"%cCopper3D Visualisation %cBeta:v2.0.2",
"padding: 3px;color:white; background:#023047",
"padding: 3px;color:white; background:#f50a25"
);
Expand Down

0 comments on commit 095f5a9

Please sign in to comment.