config.js 633 B

12345678910111213141516171819202122232425262728293031
  1. import { buildConfig } from './utils'
  2. import {
  3. defaultConfig as mixinDefaultConfig,
  4. scenesConfig as mixinScenesConfig
  5. } from '@/mixins/ExperimentBaseExtracts'
  6. // This will apply to all the scenes
  7. export const defaultConfig = {
  8. ...mixinDefaultConfig,
  9. showHoverBorder: false,
  10. extractConfig: {
  11. x: 4,
  12. y: 4
  13. },
  14. lockConfig: true
  15. }
  16. // This will overwrite the config for the given scene
  17. export const scenesConfig = {
  18. ...mixinScenesConfig,
  19. bathroom: {
  20. showHoverBorder: false,
  21. extractConfig: {
  22. x: 4,
  23. y: 4
  24. },
  25. lockConfig: true
  26. }
  27. }
  28. export default buildConfig(defaultConfig, scenesConfig)