cornerstonejs / cornerstoneTools

[Deprecated] Use Cornerstone3D Instead https://cornerstonejs.org/
MIT License
579 stars 456 forks source link

fix(SegRendering): preserve canvas transform matrix after seg render #1549

Closed ViniciusResende closed 1 year ago

ViniciusResende commented 1 year ago

image Note that the text is not even entirely on the screen, also there are two ellipsis that aren't even being shown, they appear on the screenshot below.

image Now we can see that the text is well positioned and that the ellipsis are in the right place.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1549 (afa277c) into master (73cd522) will increase coverage by 0.55%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1549      +/-   ##
==========================================
+ Coverage   23.30%   23.86%   +0.55%     
==========================================
  Files         287      287              
  Lines       10138    10141       +3     
  Branches     2082     2082              
==========================================
+ Hits         2363     2420      +57     
+ Misses       6625     6575      -50     
+ Partials     1150     1146       -4     
Impacted Files Coverage Δ
...eventListeners/internals/renderSegmentationFill.js 90.32% <100.00%> (+88.68%) :arrow_up:
...ntListeners/internals/renderSegmentationOutline.js 81.18% <100.00%> (+0.18%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

igoroctaviano commented 1 year ago

LGTM 🏅