@sequent-org/moodboard 1.2.24 → 1.2.25

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequent-org/moodboard",
3
- "version": "1.2.24",
3
+ "version": "1.2.25",
4
4
  "type": "module",
5
5
  "description": "Interactive moodboard",
6
6
  "main": "./src/index.js",
@@ -1274,7 +1274,7 @@ export class PlacementTool extends BaseTool {
1274
1274
  // Возвращает подходящий курсор для текущего pending состояния
1275
1275
  PlacementTool.prototype._getPendingCursor = function() {
1276
1276
  if (!this.pending) return 'crosshair';
1277
- if (this.pending.type === 'text') return TEXT_CURSOR;
1277
+ if (this.pending.type === 'text') return 'text';
1278
1278
  if (this.pending.type === 'frame-draw') return 'crosshair';
1279
1279
  return 'crosshair';
1280
1280
  };
@@ -23,7 +23,7 @@ const TEXT_CURSOR = `url("data:image/svg+xml;charset=utf-8,${encodeURIComponent(
23
23
  export class TextTool extends BaseTool {
24
24
  constructor(eventBus) {
25
25
  super('text', eventBus);
26
- this.cursor = TEXT_CURSOR;
26
+ this.cursor = 'text';
27
27
  this.hotkey = 't';
28
28
  this.container = null;
29
29
 
@@ -18,7 +18,7 @@
18
18
  .moodboard-root .moodboard-workspace,
19
19
  .moodboard-root .moodboard-container,
20
20
  .moodboard-root .moodboard-canvas {
21
- cursor: url('../../assets/icons/cursor-default-custom.svg') 0 0, default;
21
+ cursor: default;
22
22
  }
23
23
 
24
24
  @font-face {