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

Feature/Implement menu bar #201

Merged
merged 4 commits into from
Nov 28, 2023
Merged

Feature/Implement menu bar #201

merged 4 commits into from
Nov 28, 2023

Conversation

yllfejziu
Copy link
Member

Addresses issue #200.

Copy link
Collaborator

@borut-t borut-t left a comment

Choose a reason for hiding this comment

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

Tried it and it works 🙌

Comment on lines +53 to +54
guard let windows = NSWindow.windowNumbers(),
windows.count <= 3 else { return }
Copy link
Collaborator

Choose a reason for hiding this comment

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

What are windows 1 and 2?

Copy link
Member Author

@yllfejziu yllfejziu Nov 24, 2023

Choose a reason for hiding this comment

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

To be honest I'm not really sure which windows are they, didn't debug it further, just found the solution online...
However, whenever the app is minimized there are 3 windows, and 4 if the main app is not minimized.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Interesting. But it works.

@yllfejziu yllfejziu force-pushed the feature/implement-menu-bar branch 3 times, most recently from d90af89 to 9404132 Compare November 28, 2023 14:32
@yllfejziu yllfejziu force-pushed the feature/implement-menu-bar branch from 9404132 to af94af4 Compare November 28, 2023 14:35
Copy link
Member

@EgzonArifi EgzonArifi left a comment

Choose a reason for hiding this comment

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

Nice job 👍

}
}

#Preview {
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove this since the github workflow is a version behind so it will fail

@yllfejziu yllfejziu merged commit 02806a0 into develop Nov 28, 2023
1 check passed
@yllfejziu yllfejziu deleted the feature/implement-menu-bar branch November 28, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants