Skip to content

Commit

Permalink
Refactor #11284
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Mar 30, 2022
1 parent 071cd59 commit 2bf08c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ export class Dialog implements AfterContentInit,OnInit,OnDestroy {
let newHeight = containerHeight + deltaY;
let minWidth = this.container.style.minWidth;
let minHeight = this.container.style.minHeight;
let offset = DomHandler.getOffset(this.container);
let offset = this.container.getBoundingClientRect();
let viewport = DomHandler.getViewport();
let hasBeenDragged = !parseInt(this.container.style.top) || !parseInt(this.container.style.left);

Expand Down

0 comments on commit 2bf08c6

Please sign in to comment.