zoom: Handle multiple outputs
This commit is contained in:
parent
61d44b3a9d
commit
531a1c951f
4 changed files with 259 additions and 32 deletions
|
|
@ -595,7 +595,7 @@ where
|
|||
} else {
|
||||
ElementFilter::All
|
||||
};
|
||||
let zoom_level = shell.read().unwrap().zoom_level();
|
||||
let zoom_level = shell.read().unwrap().zoom_level(Some(&output));
|
||||
|
||||
#[allow(unused_mut)]
|
||||
let workspace_elements = workspace_elements(
|
||||
|
|
@ -1013,7 +1013,7 @@ where
|
|||
} else {
|
||||
ElementFilter::All
|
||||
};
|
||||
let zoom_level = shell.read().unwrap().zoom_level();
|
||||
let zoom_level = shell.read().unwrap().zoom_level(Some(&output));
|
||||
|
||||
let result = render_workspace(
|
||||
gpu,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue