Comments (6)
That is because of the use of backdrop-filter
. Nothing I can do about it other than completely removing it, which I am not going to do.
from softx.
Could it be a toggle which could be on by default just like glow? I really like the theme but would prefer it to be lag free 😅
from softx.
May I give some suggestions to workaround this issue
It is obviously caused by the animation making a 60 fps for 0.2 seconds of that backdrop blur, making it a huge mess performance wise.
I have 2 suggestions for this
First option, in case of backdrop and settings I think a blur filter can be instantly applied to the layer that hold everything but backdrop and settings layer, which means chat, server, members etc... blurring globally that part of the UI without tying it to the class that has the animation with a filter rather than using a backdrop-filter for settings and backdrop tabs
My other option which I am unsure if it would actually fix, but would be adding to from and to in the keyframes of fadeIn with the property of backdrop filter with the value set from the beggining rather than making it compute the blur, this also means the blur won't gradually come in which tbh is what causes the issues anyways, so it being gone seems fine to me~~
@-webkit-keyframes fadeIn {
from {
backdrop-filter: blur(var(--blur));
opacity: 0;
}
to {
backdrop-filter: blur(var(--blur));
opacity: 1;
}
}
@keyframes fadeIn {
from {
backdrop-filter: blur(var(--blur));
opacity: 0;
}
to {
backdrop-filter: blur(var(--blur));
opacity: 1;
}
}
im no css pro, these are just suggestions, pardon my ignorance
from softx.
Both would still cause the massive lag. The only fix is if I remove them from the entire theme. Which I will not do.
Make sure you have Hardware Acceleration enabled in Advanced Discord settings.
Could it be a toggle which could be on by default just like glow? I really like the theme but would prefer it to be lag free 😅
Not possible with CSS. You either have it in, or no.
from softx.
Not possible with CSS. You either have it in, or no.
Welp. Alright thanks.
from softx.
I tried out Sly's CSS snippet and it seems to work! It reduces the lag by a lot.
from softx.
Related Issues (20)
- Unread chat bubble isn't showing HOT 2
- Text popup glitching through screen HOT 2
- Profile picture not displayed properly
- Add compatibility for GameActivityToggle HOT 1
- Profile Picture background not showing HOT 1
- TLDR: Theme needs an update it broke on latest update. HOT 9
- UI is Completely all of over the place HOT 1
- Scroll disabled in setting modal HOT 1
- Font is different
- Radial glow from users avatar not aligned properly
- Can't move Discord windows HOT 2
- none of my changes do anything to alter the theme's look HOT 2
- Server Radius circle not aligned correctly HOT 6
- Background
- Preview on Better discord not working HOT 2
- Most recent stable update breaks server theming HOT 2
- Member list bug
- shakey and the option about the status is unclickable HOT 5
- SoftX isnt working as of the discord update on (i think) 25/10/2023 HOT 3
- Theme is unusable HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from softx.