render: Fix grey screen on workspace switch
This commit is contained in:
parent
5662a0f219
commit
06c12040f9
1 changed files with 1 additions and 1 deletions
|
|
@ -776,7 +776,7 @@ where
|
|||
(WorkspaceLayout::Vertical, true) => (0, output_size.h + offset.y),
|
||||
(WorkspaceLayout::Vertical, false) => (0, -(output_size.h - offset.y)),
|
||||
(WorkspaceLayout::Horizontal, true) => (output_size.w + offset.x, 0),
|
||||
(WorkspaceLayout::Horizontal, false) => (-(output_size.w - offset.y), 0),
|
||||
(WorkspaceLayout::Horizontal, false) => (-(output_size.w - offset.x), 0),
|
||||
})
|
||||
}
|
||||
None => (0, 0).into(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue