/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * @Author: JB (jb@codecorsair.com)
 * @Date: 2017-01-24 14:48:27
 * @Last Modified by: Mehuge (mehuge@sorcerer.co.uk)
 * @Last Modified time: 2017-05-08 17:42:27
 */
import { LayoutMode, Edge } from '../../../components/HUDDrag';
import Crafting from '../../../widgets/Crafting';

export default {
  position: {
    x: {
      anchor: 5,
      offset: -200,
    },
    y: {
      anchor: Edge.TOP,
      offset: 120,
    },
    size: {
      width: 600,
      height: 450,
    },
    scale: 1,
    opacity: 1,
    visibility: false,
    zOrder: 8,
    layoutMode: LayoutMode.GRID,
  },
  dragOptions: {
    lockHeight: true,
    lockWidth: true,
  },
  component: Crafting,
  props: {},
};

/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * @Author: JB (jb@codecorsair.com)
 * @Date: 2017-01-24 14:48:27
 * @Last Modified by: Mehuge (mehuge@sorcerer.co.uk)
 * @Last Modified time: 2017-06-14 21:03:07
 */
import { LayoutMode, Edge } from '../../../components/HUDDrag';
import Crafting from '../../../widgets/Crafting';

export default {
  position: {
    x: {
      anchor: 5,
      offset: -200,
    },
    y: {
      anchor: Edge.TOP,
      offset: 120,
    },
    size: {
      width: 600,
      height: 450,
    },
    scale: 1,
    opacity: 1,
    visibility: true,
    zOrder: 8,
    layoutMode: LayoutMode.GRID,
  },
  dragOptions: {
    lockHeight: true,
    lockWidth: true,
  },
  component: Crafting,
  props: {},
};

Make sure crafting UI is mounted
Make sure crafting UI is mounted

