mirror of
https://github.com/mathuo/dockview
synced 2025-03-09 23:42:05 +00:00
fix: mistake of sashes offset when custom gap
This commit is contained in:
parent
ee74785d7e
commit
1cd4251083
@ -825,7 +825,7 @@ export class Splitview {
|
||||
viewLeftOffsets.push(totalLeftOffset);
|
||||
|
||||
const offset = Math.min(
|
||||
Math.max(0, totalLeftOffset - 2),
|
||||
Math.max(0, totalLeftOffset - (1 + this.margin) / 2),
|
||||
this.size - this.margin
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user