Skip to content

Commit

Permalink
chore: 3.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-zone committed Mar 1, 2024
1 parent 7343a4c commit 17693c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fabritor-web",
"version": "2.1.0",
"version": "3.0.0",
"description": "fabritor-web",
"dependencies": {
"@ant-design/icons": "^5.2.6",
Expand Down
2 changes: 1 addition & 1 deletion src/editor/objects/rect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { uuid } from '@/utils';
import { getGlobalEditor } from '@/utils/global';

export default function createRect (options) {
const { width = 200, height = 200, left, top, ...rest } = options || {};
const { width = 200, height = 200, ...rest } = options || {};
const editor = getGlobalEditor();
const { canvas } = editor;
const rect = new fabric.Rect({
Expand Down
4 changes: 2 additions & 2 deletions src/utils/constants.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const APP_NAME = 'fabritor';
export const APP_VERSION = '2.0.0';
export const SCHEMA_VERSION = 2;
export const APP_VERSION = '3.0.0';
export const SCHEMA_VERSION = 3;
export const SCHEMA_VERSION_KEY = 'fabritor_schema_version';
export const LOG_PREFIX = `${APP_NAME}_log:`;

Expand Down

0 comments on commit 17693c5

Please sign in to comment.