Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NSWindow environment key #962

Merged
merged 2 commits into from
Jan 14, 2023
Merged

Added NSWindow environment key #962

merged 2 commits into from
Jan 14, 2023

Conversation

Wouter01
Copy link
Member

@Wouter01 Wouter01 commented Jan 14, 2023

Signed-off-by: Wouter01 [email protected]

Description

This removes various references to the windowController out of views, most were unused.
A window environment key was added for views requiring a reference to the window.

A WindowObserver view has been added and controls some window behaviors which were previously in WorkspaceView.

This should reduce the amount of dependencies some views require.

Related Issue

#961

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • I documented my code
  • Review requested

Copy link
Contributor

@matthijseikelenboom matthijseikelenboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Wouter01 Wouter01 merged commit aeb32c7 into CodeEditApp:main Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants