AlexTorresDev / custom-electron-titlebar

Custom electon title bar inpire on VS Code title bar
MIT License
868 stars 149 forks source link

The submenus are not aligned with the title menu #247

Closed lvcabral closed 10 months ago

lvcabral commented 11 months ago

Problem Description

When we open the top cascading menus, there is a 8px gap between the title and the left edge of the menu.

Steps to Reproduce

  1. Open the app
  2. Open any Menu

Expected Behavior

Current Behavior

Tentative Solution Steps

The solution is to get the bounding box of the button and not the title, I will push a PR with it fixed.

Screenshots

image

Additional Context

[Add any other context that might be useful for understanding the issue, such as recent code changes, events that might have triggered the problem, etc.]

Note: Labels - "bug"

lvcabral commented 10 months ago

@AlexTorresDev when do you plan to make the next release with this fix?

AlexTorresDev commented 10 months ago

Fixed in version 4.2.8