seat-editor 3.3.30 → 3.3.32

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.
@@ -229,7 +229,7 @@ const boardSlice = createSlice({
229
229
  const next = state.historyChanges[state.pointer + 1];
230
230
  state.components = current(next === null || next === void 0 ? void 0 : next.components);
231
231
  state.extraComponents = current(next === null || next === void 0 ? void 0 : next.extraComponents);
232
- state.boundingBox = current(next === null || next === void 0 ? void 0 : next.boundingBox);
232
+ state.boundingBox = next === null || next === void 0 ? void 0 : next.boundingBox;
233
233
  state.pointer += 1;
234
234
  state.updateBy = "global";
235
235
  }
@@ -340,7 +340,7 @@ const SideTool = ({ dragOnly, deleteAutorized, }) => {
340
340
  <ColorPicker value={color} onChange={handleChangeColorBackground}>
341
341
  <Button icon={<PaintBucket />} type="text" name="Background Color" onClick={() => hanldeSelectTool("background-color")} style={active === "background-color" ? { color: "red" } : {}}/>
342
342
  </ColorPicker>
343
- <Button icon={<Scan />} type="text" name="Preview" onClick={() => hanldeSelectTool("bounding-box")} style={active === "preview" ? { color: "red" } : {}}/>
343
+ <Button icon={<Scan />} type="text" name="Bounding Box" onClick={() => hanldeSelectTool("bounding-box")} style={active === "bounding-box" ? { color: "red" } : {}}/>
344
344
  <Button icon={preview ? <EyeOff /> : <Eye />} type="text" name="Preview" onClick={handleOpenModalPreview} style={active === "preview" ? { color: "red" } : {}}/>
345
345
  <Button icon={<Grid />} type="text" name="Grid" onClick={() => toggleGrid()}/>
346
346
  <ButtonTools buttonProps={{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seat-editor",
3
- "version": "3.3.30",
3
+ "version": "3.3.32",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",