Skip to content

Commit

Permalink
docs: update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
xachary committed Sep 29, 2024
1 parent 81e7f33 commit 590822b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29121,6 +29121,7 @@ class DragHandlers {
if (e.evt.button === MouseButton.右键 || e.evt.ctrlKey && e.evt.button === MouseButton.左键) {
const stageState = this.render.getStageState();
this.mousedownRight = true;
this.render.changeDraggable(false);
this.mousedownStagePos = { x: stageState.x, y: stageState.y };
const pos = this.render.stage.getPointerPosition();
if (pos) {
Expand All @@ -29132,6 +29133,7 @@ class DragHandlers {
},
mouseup: () => {
this.mousedownRight = false;
this.render.changeDraggable(true);
document.body.style.cursor = "default";
},
mousemove: () => {
Expand Down Expand Up @@ -58043,7 +58045,7 @@ const logArray = (words2) => {
console.error(e);
}
};
var define_BUILD_INFO_default = { lastBuildTime: "2024-09-29 18:00:51", git: { branch: "master", hash: "b2c80d859910245447de87a771c78c2bace99803", tag: "chapter23-dirty" } };
var define_BUILD_INFO_default = { lastBuildTime: "2024-09-29 18:16:13", git: { branch: "master", hash: "dbe20ac35acbc95a7ef1349398d2dc382d422e06", tag: "chapter23-dirty" } };
const {
lastBuildTime,
git: { branch, tag, hash }
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Konva Designer Sample</title>
<script src="./gifler.min.js"></script>
<script type="text/javascript" src="./[email protected]"></script>
<script type="module" crossorigin src="./assets/index-DW4gYsd4.js"></script>
<script type="module" crossorigin src="./assets/index-C0McZrGV.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-TajGq8Br.css">
</head>
<body>
Expand Down

0 comments on commit 590822b

Please sign in to comment.