output-management: Correctly advertise enabled-state for mirrored outputs
This commit is contained in:
parent
1048d99c05
commit
45bdffe802
1 changed files with 8 additions and 2 deletions
|
|
@ -429,8 +429,14 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
instance.obj.enabled(if inner.enabled { 1 } else { 0 });
|
||||
if inner.enabled {
|
||||
instance
|
||||
.obj
|
||||
.enabled(if inner.enabled || output.mirroring().is_some() {
|
||||
1
|
||||
} else {
|
||||
0
|
||||
});
|
||||
if inner.enabled || output.mirroring().is_some() {
|
||||
let point = output.current_location();
|
||||
instance.obj.position(point.x, point.y);
|
||||
instance.obj.transform(output.current_transform().into());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue