Closed bsekachev closed 3 days ago
The latest update introduces a fix for an exception related to canceling the drawing of shapes within trackers in the application. This is achieved by adding a new cancelled
boolean property to the InteractionHandlerImpl
class, which is used to manage and halt ongoing drawing operations effectively.
Files/Modules | Change Summary |
---|---|
cvat-canvas/src/typescript/interactionHandler.ts |
Introduced a cancelled boolean property in the InteractionHandlerImpl class to handle drawing cancellations. |
changelog.d/20240625_125241_boris.md |
Added a changelog entry corresponding to the introduction of the new cancellation fix for drawing shapes. |
sequenceDiagram
participant User
participant InteractionHandlerImpl
participant Canvas
User->>InteractionHandlerImpl: Start drawing shape
InteractionHandlerImpl->>Canvas: Initialize drawing shape
User->>InteractionHandlerImpl: Cancel drawing shape
InteractionHandlerImpl->>InteractionHandlerImpl: Set cancelled to true
Canvas-->>InteractionHandlerImpl: Acknowledge cancellation
InteractionHandlerImpl-->>User: Drawing operation cancelled
In the land of code, new features unveiled,
A bug was squashed, we prevailed. 🚀
With a boolean switch, cessation’s our friend,
Drawing shapes, now easy to end.
Hooray, for the canvas is now free,
To start, to stop, as we decree. 🎨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Attention: Patch coverage is 80.95238%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 83.66%. Comparing base (
a53e2bf
) to head (afcaf68
). Report is 3 commits behind head on develop.
Motivation and context
How has this been tested?
Checklist
develop
branchLicense
Summary by CodeRabbit