Skip to content

Commit

Permalink
Merge branch 'pr/1584' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Lionel Laské committed Apr 15, 2024
2 parents 2365de3 + 0c6bd85 commit 42cacf0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Missalignment of icons and text in Fototoon activity "clean all" button #1596
- Extra icon rendering in QRCode activity #1193
- Message Updation in Fraction Activity #1453
- LabyrinthJS: No selection-indicator is visible while linking ideas #1585

## [1.8.0] - 2024-04-10
### Added
Expand Down
9 changes: 8 additions & 1 deletion activities/LabyrinthJS.activity/js/activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,18 @@ define(["sugar-web/activity/activity", "l10n", "sugar-web/datastore", "sugar-web
if (lastSelected == this) lastSelected = null;
return;
} else if (currentMode == 1) {
if (isSelectedNode(this)) {
unselectNode(this);
lastSelected = null;
}
else { selectNode(this); }
if (lastSelected != null && lastSelected != this) {
createEdge(lastSelected, this);
unselectNode(this);
lastSelected = null;
pushState();
}
lastSelected = this;
if (isSelectedNode(this)) lastSelected = this;
return;
} else {
if (isSelectedNode(this)) {
Expand Down

0 comments on commit 42cacf0

Please sign in to comment.