forked from MapComplete/MapComplete
Fix autoapply for GRB theme
This commit is contained in:
parent
db770f2c35
commit
30be86668e
16 changed files with 392 additions and 209 deletions
|
|
@ -36,7 +36,7 @@ export default class EditableTagRendering extends Toggle {
|
|||
const editMode = options.editMode ?? new UIEventSource<boolean>(false)
|
||||
let rendering = EditableTagRendering.CreateRendering(state, tags, configuration, units, editMode);
|
||||
rendering.SetClass(options.innerElementClasses)
|
||||
if(state.featureSwitchIsDebugging.data){
|
||||
if(state.featureSwitchIsDebugging.data || state.featureSwitchIsTesting.data){
|
||||
rendering = new Combine([
|
||||
new FixedUiElement(configuration.id).SetClass("self-end subtle"),
|
||||
rendering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue