Skip to content

Leverage automaticallyReconfiguresDisplay#60

Merged
marciniwanicki merged 1 commit into
mainfrom
mi/use-automaticallyReconfiguresDisplay
Jun 1, 2024
Merged

Leverage automaticallyReconfiguresDisplay#60
marciniwanicki merged 1 commit into
mainfrom
mi/use-automaticallyReconfiguresDisplay

Conversation

@marciniwanicki
Copy link
Copy Markdown
Contributor

  • automaticallyReconfiguresDisplay indicates whether the graphics display associated with this view automatically reconfigures with respect to view changes.
  • requires macOS 14.0+

Reference:

Set this property to true to automatically resize or reconfigure this graphics display when the view properties update. For example, resizing the display when the view has a live resize operation. When enabled, the graphics display automatically reconfigures to match the host display environment.
You can set this property on only a single VZVirtualMachineView targeting a particular VZGraphicsDisplay at a time. If multiple VZVirtualMachineView views targeting the same VZGraphicsDisplay enable this property, only one view respects the property, and the framework disables the property on the other views.
The default is false.

Source: https://developer.apple.com/documentation/virtualization/vzvirtualmachineview/4168520-automaticallyreconfiguresdisplay.

Test Plan:

  • Ensure all CI checks pass
  • Launch the app with window mode, verify the content is rendered correctly after the window is resized

@marciniwanicki marciniwanicki merged commit c29baf6 into main Jun 1, 2024
@marciniwanicki marciniwanicki deleted the mi/use-automaticallyReconfiguresDisplay branch June 1, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant