import { DEFAULT_FONT_SIZE, DEFAULT_TEXT_ALIGN } from './constants'

const appState = {
  selectedElement: {},
  currentFontSize: DEFAULT_FONT_SIZE,
  currentOpacity: 100,
  currentStrokeColor: "#000000",
  currentStrokeWidth: 1,
  currentTextAlign: DEFAULT_TEXT_ALIGN,
  cursorButton: "up",
  draggingElement: null,
  editingElement: null,
  activeTool: {
    type: "rectangle",
    lastActiveTool: null,
  },
  isResizing: false,
  lastPointerDownWith: "mouse",
  previousSelectedElementIds: {},
  resizingElement: null,
  scrollX: 0,
  scrollY: 0,
  selectedElement: {},
  zoom: 1,
  viewModeEnabled: false,
}
export default appState
