Cubxity / typstudio

A W.I.P desktop application for a new typesetting language, typst.
GNU General Public License v3.0
605 stars 19 forks source link

chore: Improve menu bar #15

Closed caoimhebyrne closed 1 year ago

caoimhebyrne commented 1 year ago

Most of the changes are related to macOS, however, the first commit (b0ad49ffc7869c44e94d3abf31049a4848a96baa) is beneficial to all platforms, as it allows us to use the system-specified hotkey for quitting the application.

Preview of the new menu actions on macOS:

Note A very basic auto-generated "About" dialog has also been added with this, but we can fill out that information later...

image

v.s. Terminal, a "native" application:

image

As you can see, we now have the same default actions in our application menu as the other apps!

Cubxity commented 1 year ago

This seems to add "Typstudio" menu on other OSes. image