Skip to content

Commit

Permalink
Fixed highlighted attribute in AAM #1425
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Apr 21, 2020
1 parent e5d7648 commit 22fea19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cvat-canvas/src/typescript/canvasModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ export class CanvasModelImpl extends MasterImpl implements CanvasModel {
}

public activate(clientID: number | null, attributeID: number | null): void {
if (this.data.activeElement.clientID === clientID) {
if (this.data.activeElement.clientID === clientID
&& this.data.activeElement.attributeID === attributeID
) {
return;
}

Expand Down

0 comments on commit 22fea19

Please sign in to comment.