CSS optimizations for HW acceleration disabled

This commit is contained in:
booploops 2021-12-27 00:02:29 -08:00
parent 997847e146
commit f9739f7d24
4 changed files with 32 additions and 0 deletions

View file

@ -340,6 +340,9 @@ const app = new Vue({
if(this.isDev) {
this.mk.privateEnabled = true
}
if(this.cfg.visual.hw_acceleration == "disabled") {
document.body.classList.add("no-gpu")
}
this.mk._services.timing.mode = 0
this.platform = ipcRenderer.sendSync('cider-platform');
// Set profile name