Skip to content

Conversation

@Airyzz
Copy link
Contributor

@Airyzz Airyzz commented Nov 4, 2025

Related to #3057

I found a large amount of frame time in webkitgtk is being spent applying blur filter while rendering this box shadow. The 1px wide shadow essentially looks like a border, so visually it looks similar just using a simple border, and has much improved performance on Linux

@Prospector
Copy link
Member

hmm, I swear there was a reason we used the shadow, but I can't seem to figure out why now. The border actually looks better and more how it was intended to look...

@Prospector
Copy link
Member

Since this also disables the main shadow which we definitely want to keep especially in light mode, I moved that to be toggleable with the Advanced rendering setting which removes other blur effects.

@Prospector Prospector enabled auto-merge November 7, 2025 16:34
@Prospector Prospector changed the title Remove box-shadow for better performance on Linux Make major box shadows toggleable with Advanced rendering setting Nov 7, 2025
@Prospector Prospector added this pull request to the merge queue Nov 7, 2025
Merged via the queue into modrinth:main with commit 67fb825 Nov 7, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants