Leave unrelated chat files as main formats them
This commit is contained in:
@@ -142,10 +142,8 @@ class ChatWorkspaceGeometry {
|
||||
};
|
||||
if (gap < -slack || gap > chatPaneDividerExtent + slack) continue;
|
||||
final overlap = horizontal
|
||||
? math.min(origin.bottom, rect.bottom) -
|
||||
math.max(origin.top, rect.top)
|
||||
: math.min(origin.right, rect.right) -
|
||||
math.max(origin.left, rect.left);
|
||||
? math.min(origin.bottom, rect.bottom) - math.max(origin.top, rect.top)
|
||||
: math.min(origin.right, rect.right) - math.max(origin.left, rect.left);
|
||||
if (overlap <= slack) continue;
|
||||
final centred = horizontal
|
||||
? rect.top <= centre && centre < rect.bottom
|
||||
|
||||
Reference in New Issue
Block a user