Skip to content

Commit bb40c45

Browse files
authored
Merge pull request #511 from mathuo/448-drop-target-selection-transformation-scales-borders-and-outlines
feat: dnd overlay fix
2 parents a84bdb9 + 157ea8a commit bb40c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/dockview-core/src/dnd/droptarget.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export class Droptarget extends CompositeDisposable {
333333
} else if (topClass) {
334334
box.height = `${100 * size}%`;
335335
} else if (bottomClass) {
336-
box.top = `${100 * size}%`;
336+
box.top = `${100 * (1 - size)}%`;
337337
box.height = `${100 * size}%`;
338338
}
339339

0 commit comments

Comments
 (0)