mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
!SkinCustomMenu allow for separators
This commit is contained in:
parent
57e6787b71
commit
f74dba0c03
@ -500,8 +500,15 @@ void ContextMenu::AppendSkinCustomMenu(
|
|||||||
{
|
{
|
||||||
if (isTitleSeparator(cTitles[i]))
|
if (isTitleSeparator(cTitles[i]))
|
||||||
{
|
{
|
||||||
// Separators not allowed in main top-level menu
|
if (standaloneMenu)
|
||||||
--position;
|
{
|
||||||
|
AppendMenu(menu, MF_BYPOSITION | MF_SEPARATOR, 0, nullptr);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Separators not allowed in main top-level menu
|
||||||
|
--position;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user