Skip to content

Commit 0d90185

Browse files
committed
Don't render Windows in preview all
Signed-off-by: Liam Allan <[email protected]>
1 parent d29f6a0 commit 0d90185

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/render.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,9 @@ module.exports = class Render {
314314

315315
} else {
316316
this.display.formats.forEach(currentFormat => {
317-
if (currentFormat.keywords.find(key => key.name === `SFL`)) {
318-
// All but subfiles
317+
if (currentFormat.keywords.find(key => [`SFL`, `WINDOW`].includes(key.name))) {
318+
// All but subfiles and windows
319+
// SFL gets written by SFLCTL
319320
return;
320321
}
321322

0 commit comments

Comments
 (0)