Skip to content

Commit 22fea19

Browse files
committed
Fixed highlighted attribute in AAM #1425
1 parent e5d7648 commit 22fea19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cvat-canvas/src/typescript/canvasModel.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,9 @@ export class CanvasModelImpl extends MasterImpl implements CanvasModel {
368368
}
369369

370370
public activate(clientID: number | null, attributeID: number | null): void {
371-
if (this.data.activeElement.clientID === clientID) {
371+
if (this.data.activeElement.clientID === clientID
372+
&& this.data.activeElement.attributeID === attributeID
373+
) {
372374
return;
373375
}
374376

0 commit comments

Comments
 (0)