code: @Override
  	public void onVisibleChange(LayerShownEvent event) {
  		if (!themeChange && getActiveViewConfig() != null && !event.isScaleChange()) {
  			activateViewConfig(null);
  		}
  	}
docs: ----------------------------------------------------------