fix(effects): снизить лаги сцены на Mac
Pixi режется по contentRect, пульт идёт в preview (12 FPS, 0.5 DPR), штампы тумана/огня/дождя прореживаются, draft темноты и маркера не чаще 20 Гц. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
.host {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
contain: layout paint;
|
||||
}
|
||||
|
||||
.hostFill {
|
||||
inset: 0;
|
||||
}
|
||||
|
||||
.hostBound {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hostInteractive {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user