Skip to content

Conversation

@Nyx128
Copy link

@Nyx128 Nyx128 commented Jan 10, 2026

Discord link to issue:- https://discord.com/channels/731730685944922173/881073965047636018/1458467402743287973

This issue can be reproduced by going into the node graph and then clicking on a sub element.
The issue lies on the Breadcrumb menu showing the user where they currently are in the graph
such as Document->Layer.

The issue arises due to non integer scaling on certain scales.
I have taken a few screenshots before my fix to show this.

Before

Zoom (110%)
image
Zoom (150%)
image

I narrowed it down the issue to frontend/src/components/widgets/buttons/BreadcrumbTrailButtons.svelte
specifically in the way it was drawn. The .text-button, and i seem to understand its a block element, and whenever the scale changes (like 110%) the browser might possibly calculate the dimensions of the border(which seems to be the way the arrow was drawn) and make some rounding error which seems to misalign the ui as seen in the Before pictures.

I wrote a fix by drawing the text button using clip-path so it stays stable across all ui scales as its recalculated perfectly and does not seem to cause any misalignment.

After

Zoom (110%)
image
Zoom(150%)
image

The ui might have been altered slightly visually but the misalignment issue does not seem to be there anymore

@timon-schelling
Copy link
Member

!build

@timon-schelling
Copy link
Member

Thanks for the contribution. The visuals should not change. Can you find another way that doesn't change the visuals?

@github-actions
Copy link

📦 Build Complete for 3c86c44
https://1b83b034.graphite.pages.dev

@Nyx128
Copy link
Author

Nyx128 commented Jan 10, 2026

Added the required changes please check it looks like this now

After fix

image

Before fix

image

It looks pretty much the same now.

@timon-schelling
Copy link
Member

!build

@github-actions
Copy link

📦 Build Complete for fa60e51
https://b8f00964.graphite.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants