aglinxinyuan commented on code in PR #9199:
URL: https://github.com/apache/texera/pull/9199#discussion_r4448600746


##########
frontend/src/app/workspace/component/agent/agent-panel/agent-panel.component.ts:
##########
@@ -376,7 +367,6 @@ export class AgentPanelComponent implements OnInit, 
OnDestroy, OnChanges {
         const translates = container.style.transform;
         const [xOffset, yOffset] = calculateTotalTranslate3d(translates);
         this.returnPosition = { x: -xOffset, y: -yOffset };

Review Comment:
   Done in 20b13a24a5: dropped the field, the three lines that set it and the 
`calculateTotalTranslate3d` import, so `loadPanelSettings()` now only restores 
`cssText`. In the spec, removed the "nets out to the origin" case and the 
`returnPosition` assertion; the remaining test is now "re-applies the saved 
container style" and its fake style no longer carries a `transform`. Also 
cleaned up two leftovers from the first commit: the unused `CdkDragStart` 
import and the "undocks on drag start" part of the drag test's title.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to