Closed LTakhyunKim closed 1 year ago
ν΄λΉ PR μ ν΅ν΄ Viewport μ μ§, 리μ μ λν λμλ μ μ©λ μνμ λλ€. λλΆμ΄ multi frame μ λν λμλ useViewport hook λ΄ λ‘μ§μ μΆκ°ν μνμ΄λ―λ‘ μ΄ λΆλΆλ ν¨κ» νμΈ λΆνλ립λλ€.
π Description
INSIGHT Viewer Library docs μ Renewal useViewport hook μ μ μ©νμ΅λλ€.
βοΈ PR Type
What kind of change does this PR introduce?
π― Current behavior
ꡬλ²μ useViewport hook μ΄ μ μ©λμ΄ μμ΅λλ€.
Issue Number: https://lunit.atlassian.net/browse/VIEWER-129
π New behavior
Renewal useViewport hook μ INSIGHT Viewer Library docs μ μ μ©νμ΅λλ€.
Renewal useViewport hook μ multi image(frame) μ λμνκΈ° μν΄μ μ΄λ―Έμ§κ° λ³κ²½λμ΄λ image imageSeriesKey λ₯Ό μ΄μ©νμ¬ μ΄μ Viewport λ₯Ό μ μ§νλ κΈ°λ₯μ ꡬννμ΅λλ€. ef2fc12
<μΆκ° μ€λͺ > useMultipleImages hook μΌλ‘ multi frame μ΄λ―Έμ§λ₯Ό νΈλ€λ§ν©λλ€. ν΄λΉ hook μμ κ°μ μ리μ¦μ λν image μ λμΌν imageSeriesKey λ₯Ό λΆμ¬ν©λλ€. μ λ°©μμ useViewport hook μ μ μ©νμ¬ λ³κ²½λ μ΄λ―Έμ§κ° λμΌν key λ₯Ό κ°μ§κ³ μμ κ²½μ° viewport reset μ νμ§ μκ³ early return νμ¬ μ΄μ viewport λ₯Ό μ μ§νλ λ°©μμ λλ€.
π£ Is this a breaking change?
ν΄λΉ PR μ docs λ§ λ³κ²½λ λ΄μ©μ΄λ―λ‘ breaking change λ μλλλ€.