mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
fix: Connections can be highlighted multiple times (#6502)
* fix: Connections can be highlighted multiple times * fix: remove spaces to fix clang-formating
This commit is contained in:
@@ -280,6 +280,10 @@ export class RenderedConnection extends Connection {
|
||||
|
||||
/** Add highlighting around this connection. */
|
||||
highlight() {
|
||||
if (this.highlightPath) {
|
||||
// This connection is already highlighted
|
||||
return;
|
||||
}
|
||||
let steps;
|
||||
const sourceBlockSvg = (this.sourceBlock_);
|
||||
const renderConstants =
|
||||
|
||||
Reference in New Issue
Block a user