From f515abc3118143f1cac62616c02970b2926427a2 Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 10 Feb 2023 17:24:47 +0100 Subject: Display source set / platform indicators at all times (#2848) Fixes #2847 --- .../src/main/kotlin/renderers/html/HtmlRenderer.kt | 29 ++++++++++------------ .../innerTemplating/DefaultTemplateModelFactory.kt | 3 +-- .../html/innerTemplating/TemplateModelFactory.kt | 3 +-- .../renderers/html/shouldRenderSourceSetBubbles.kt | 2 +- 4 files changed, 16 insertions(+), 21 deletions(-) (limited to 'plugins/base/src/main/kotlin/renderers/html') diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt index 73fd07e0..b4d98b58 100644 --- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt +++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt @@ -41,7 +41,7 @@ open class HtmlRenderer( setupSharedModel(templateModelMerger.invoke(templateModelFactories) { buildSharedModel() }) } - private var shouldRenderSourceSetBubbles: Boolean = false + private var shouldRenderSourceSetTabs: Boolean = false override val preprocessors = context.plugin().query { htmlPreprocessors } @@ -175,7 +175,7 @@ open class HtmlRenderer( pageContext: ContentPage, extra: PropertyContainer = PropertyContainer.empty(), styles: Set