win32ss / supermium

Chromium fork for Windows XP/2003 and up
https://win32subsystem.live/supermium/
BSD 3-Clause "New" or "Revised" License
1.83k stars 60 forks source link

Fix compact-ui omnibox outlines #652

Closed Alex313031 closed 2 weeks ago

Alex313031 commented 3 weeks ago

@win32ss If classic-omnibox and compact-ui are enabled (but not classic-omnibox-borders), since we separated them into two different flags, with the current code this is the result:

Screenshot from 2024-06-05 21-59-42

When applying this fix, the extra border is only drawn when classic-omnibox-borders and compact-ui are enabled, leading to the correct appearance like so (showing both with, and without the classic-omnibox flag):

Screenshot from 2024-06-05 22-04-14 Screenshot from 2024-06-05 22-04-37

May have to zoom in lol.