A3: gate pop-out affordance on expanded sidebar (icon-only overlap fix)
This commit is contained in:
@@ -248,7 +248,11 @@ internal sealed class Sidebar
|
||||
// Only split off a separate pop-out hit area when there's room for
|
||||
// both buttons. Below that, the whole row stays as a single
|
||||
// selectable strip without the pop-out affordance.
|
||||
var hasPopOut = avail > PopOutHitWidth + 4f;
|
||||
// A3: gate the pop-out affordance on the expanded sidebar too. In
|
||||
// icon-only mode avail still clears the width threshold, which used to
|
||||
// paint the pop-out glyph over the tab icon. The row stays a single
|
||||
// selectable strip when collapsed; right-click pop-out is unaffected.
|
||||
var hasPopOut = expanded && avail > PopOutHitWidth + 4f;
|
||||
var tabHitWidth = hasPopOut ? avail - PopOutHitWidth : avail;
|
||||
if (showGreeted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user