@social-mail/social-mail-client 1.8.331 → 1.8.332
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +2 -0
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js +5 -1
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +7 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/HtmlPageEditor.tsx +2 -0
- package/src/site-editor/editor/ui/SelectionUI.tsx +7 -1
package/package.json
CHANGED
|
@@ -580,6 +580,7 @@ export default class HtmlPageEditor extends AtomControl {
|
|
|
580
580
|
@Action({ onEvent: "undo"})
|
|
581
581
|
undo() {
|
|
582
582
|
this.undoRedo?.undo();
|
|
583
|
+
this.selection.updateRect();
|
|
583
584
|
// if (!this.undoList.length) {
|
|
584
585
|
// return;
|
|
585
586
|
// }
|
|
@@ -594,6 +595,7 @@ export default class HtmlPageEditor extends AtomControl {
|
|
|
594
595
|
@Action({ onEvent: "redo"})
|
|
595
596
|
redo() {
|
|
596
597
|
this.undoRedo?.redo();
|
|
598
|
+
this.selection.updateRect();
|
|
597
599
|
// if (!this.redoList.length) {
|
|
598
600
|
// return;
|
|
599
601
|
// }
|
|
@@ -117,7 +117,6 @@ const setCapture = (editor: HtmlPageEditor, element: HTMLElement, e: PointerEven
|
|
|
117
117
|
element.removeEventListener("pointermove", captureMove);
|
|
118
118
|
element.removeEventListener("pointerup", release);
|
|
119
119
|
captureMove(e1);
|
|
120
|
-
editor.commit();
|
|
121
120
|
d.resume();
|
|
122
121
|
|
|
123
122
|
// push records...
|
|
@@ -149,6 +148,13 @@ const setCapture = (editor: HtmlPageEditor, element: HTMLElement, e: PointerEven
|
|
|
149
148
|
}
|
|
150
149
|
|
|
151
150
|
undoRedo.observe(records);
|
|
151
|
+
editor.commit();
|
|
152
|
+
|
|
153
|
+
setTimeout(() => {
|
|
154
|
+
selection.updateRect();
|
|
155
|
+
hover.updateRect();
|
|
156
|
+
}, 1);
|
|
157
|
+
|
|
152
158
|
};
|
|
153
159
|
element.addEventListener("pointerup", release);
|
|
154
160
|
};
|