提交 798549bf 编写于 作者: J Johannes Rieken

ignore layout info when developing an extension, #55959

上级 2dd809dc
......@@ -66,9 +66,14 @@ function showPartsSplash(configuration) {
// ignore
}
// high contrast mode has been turned on, ignore stored colors and layouts
// high contrast mode has been turned on from the outside, e.g OS -> ignore stored colors and layouts
if (data && configuration.highContrast && data.baseTheme !== 'hc-black') {
data = void 0;
data = undefined;
}
// developing an extension -> ignore stored layouts
if (data && configuration.extensionDevelopmentPath) {
data.layoutInfo = undefined;
}
// minimal color configuration (works with or without persisted data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册