Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions code/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#305](https://github.com/InditexTech/weavejs/issues/305) Don't allow to transform when more than one element is selected
- [#308](https://github.com/InditexTech/weavejs/issues/308) Allow to configure transformer configuration per node

### Changed

- [#219](https://github.com/InditexTech/weavejs/issues/219) Improve frame

### Fixed

- [#291](https://github.com/InditexTech/weavejs/issues/291) Group of elements moving not maintaining position (all layers)
Expand Down
2 changes: 1 addition & 1 deletion code/packages/sdk/src/actions/frame-tool/frame-tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export class WeaveFrameToolAction extends WeaveAction {
const selectionPlugin =
this.instance.getPlugin<WeaveNodesSelectionPlugin>('nodesSelection');
if (selectionPlugin) {
const node = stage.findOne(`#${this.frameId}`);
const node = stage.findOne(`#${this.frameId}-selector-area`);
if (node) {
selectionPlugin.setSelectedNodes([node]);
}
Expand Down
1 change: 0 additions & 1 deletion code/packages/sdk/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export { Weave } from './weave';
export { WeaveStore } from './stores/store';
export * from './stores/types';
export { WeaveNode } from './nodes/node';
export * from './nodes/constants';
export { WeaveAction } from './actions/action';
export * from './actions/types';
export { WeavePlugin } from './plugins/plugin';
Expand Down
14 changes: 0 additions & 14 deletions code/packages/sdk/src/nodes/constants.ts

This file was deleted.

6 changes: 4 additions & 2 deletions code/packages/sdk/src/nodes/frame/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ export const WEAVE_FRAME_NODE_SIZES: WeaveFrameNodeSizesInfo = {

export const WEAVE_FRAME_NODE_DEFAULT_CONFIG = {
fontFamily: 'Arial',
fontStyle: 'normal',
fontStyle: 'bold',
titleHeight: 30,
borderColor: '#000000ff',
borderWidth: 2,
borderWidth: 1,
onTargetLeave: {
borderColor: '#000000ff',
fill: '#ffffffff',
Expand All @@ -86,6 +86,8 @@ export const WEAVE_FRAME_NODE_DEFAULT_CONFIG = {
rotateEnabled: false,
resizeEnabled: false,
enabledAnchors: [] as string[],
borderStrokeWidth: 3,
padding: 0,
},
};

Expand Down
Loading