Skip to content

Commit 3f73850

Browse files
add textMsg
1 parent fd72e2e commit 3f73850

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

js/activity.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6091,8 +6091,9 @@ class Activity {
60916091
document.getElementById("toolbars").addEventListener("mouseover", () => {this.isDragging = false;});
60926092

60936093
this.selectMode = () => {
6094-
this.isSelecting = !this.isSelecting;;
6095-
if (this.moving) this.moving = false;
6094+
this.moving = false;
6095+
this.isSelecting = !this.isSelecting;
6096+
(this.isSelecting) ? this.textMsg(_("Select is enabled")) : this.textMsg(_("Select is disabled"));
60966097
}
60976098

60986099
this._create2Ddrag = () => {

0 commit comments

Comments
 (0)