mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-13 12:08:45 +02:00
Fix overlay windows not inheriting the per-window padding and margin settings of their parents
Fixes #6063
This commit is contained in:
@@ -508,6 +508,9 @@ class EdgeWidths:
|
||||
def serialize(self) -> Dict[str, Optional[float]]:
|
||||
return {'left': self.left, 'right': self.right, 'top': self.top, 'bottom': self.bottom}
|
||||
|
||||
def copy(self) -> 'EdgeWidths':
|
||||
return EdgeWidths(self.serialize())
|
||||
|
||||
|
||||
class GlobalWatchers:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user