1
0
mirror of synced 2024-11-28 09:30:51 +01:00

impr: Remove separator line in view menu if fullscreen and always on top are disabled

This commit is contained in:
WerWolv 2024-02-11 23:02:34 +01:00
parent eee5e9cd7f
commit 588f8af966

View File

@ -552,7 +552,9 @@ namespace hex::plugin::builtin {
}, []{ return true; }, []{ return glfwGetWindowMonitor(ImHexApi::System::getMainWindowHandle()) != nullptr; });
#endif
ContentRegistry::Interface::addMenuItemSeparator({ "hex.builtin.menu.view" }, 3000);
#if !defined(OS_WEB)
ContentRegistry::Interface::addMenuItemSeparator({ "hex.builtin.menu.view" }, 3000);
#endif
ContentRegistry::Interface::addMenuItemSubMenu({ "hex.builtin.menu.view" }, 4000, [] {
for (auto &[name, view] : ContentRegistry::Views::impl::getEntries()) {